]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Tiny strlen for x86-64 optimization.
authorUlrich Drepper <drepper@redhat.com>
Thu, 4 Jun 2009 17:54:29 +0000 (10:54 -0700)
committerUlrich Drepper <drepper@redhat.com>
Thu, 4 Jun 2009 17:54:29 +0000 (10:54 -0700)
I didn't remove an instruction from a previous version in the final
version.

ChangeLog
sysdeps/x86_64/strlen.S

index 72910ce610956e8cf883bb511bc37073b023f621..cb094d186327dc930cc275223b66ff12cbb5dceb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-06-04  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/x86_64/strlen.S: Remove useless instruction.
+
 2009-06-02  H.J. Lu  <hongjiu.lu@intel.com>
 
        * elf/Makefile (distribute): Add ifuncmain1.c, ifuncmain1pic.c,
index 86bb8a50a922ecbe0d03cba6097ed0ba86190ec9..572f3c2e41c995ff879056d22e800ac1bf1c15a3 100644 (file)
@@ -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