From 747785f2b3afbc8b900083988957bff11bb6b11f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 4 Jun 2009 10:54:29 -0700 Subject: Tiny strlen for x86-64 optimization. I didn't remove an instruction from a previous version in the final version. --- ChangeLog | 4 ++++ sysdeps/x86_64/strlen.S | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 72910ce610..cb094d1863 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 86bb8a50a9..572f3c2e41 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 -- cgit 1.4.1