From: Ulrich Drepper Date: Thu, 4 Jun 2009 17:54:29 +0000 (-0700) Subject: Tiny strlen for x86-64 optimization. X-Git-Tag: fedora/glibc-2.10.90-1~8^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=747785f2b3afbc8b900083988957bff11bb6b11f;p=thirdparty%2Fglibc.git Tiny strlen for x86-64 optimization. I didn't remove an instruction from a previous version in the final version. --- diff --git a/ChangeLog b/ChangeLog index 72910ce6109..cb094d18632 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-06-04 Ulrich Drepper + + * sysdeps/x86_64/strlen.S: Remove useless instruction. + 2009-06-02 H.J. Lu * elf/Makefile (distribute): Add ifuncmain1.c, ifuncmain1pic.c, diff --git a/sysdeps/x86_64/strlen.S b/sysdeps/x86_64/strlen.S index 86bb8a50a92..572f3c2e41c 100644 --- a/sysdeps/x86_64/strlen.S +++ b/sysdeps/x86_64/strlen.S @@ -34,7 +34,6 @@ ENTRY(strlen) pcmpeqb %xmm1, %xmm0 shl %cl, %esi pmovmskb %xmm0, %edx - xorl %eax, %eax negq %r8 andl %esi, %edx jnz 1f