[PATCH] Fix POWER4/POWER7 optimized strncmp to not read past differing bytes
Ulrich Drepper
drepper@gmail.com
Mon Apr 18 00:56:00 GMT 2011
On Mon, Mar 28, 2011 at 14:47, Andreas Schwab <schwab@linux-m68k.org> wrote:
> 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
>
> * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
> differing bytes.
> * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
> * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
> * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
Is this patch correct? I haven't seen anything from the ppc people.
More information about the Libc-alpha
mailing list