This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2 16/16] powerpc: Add string-fza.h
- From: "Tulio Magno Quites Machado Filho" <tuliom at linux dot vnet dot ibm dot com>
- To: Richard Henderson <rth at twiddle dot net>, libc-alpha at sourceware dot org
- Cc:
- Date: Fri, 23 Dec 2016 16:43:48 -0200
- Subject: Re: [PATCH v2 16/16] powerpc: Add string-fza.h
- Authentication-results: sourceware.org; auth=none
- References: <20161221230605.28638-1-rth@twiddle.net> <20161221230605.28638-17-rth@twiddle.net>
Richard Henderson <rth@twiddle.net> writes:
> [ text/plain ]
> While ppc has the more important string functions in assembly,
> there are still a few generic routines used.
>
> Use the Power 6 CMPB insn for testing of zeros.
>
> * sysdeps/powerpc/power6/string-fza.h: New file.
> * sysdeps/powerpc/powerpc32/power6/string-fza.h: New file.
> * sysdeps/powerpc/powerpc64/power6/string-fza.h: New file.
This patch LGTM.
--
Tulio Magno