aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-06-04 10:54:29 -0700
committerUlrich Drepper <drepper@redhat.com>2009-06-04 10:54:29 -0700
commit747785f2b3afbc8b900083988957bff11bb6b11f (patch)
treec8f7955aa373196e2dc66df0c10715703cb5115d /sysdeps
parent2f083d7511460b3beea2df165c3e43742f73f3c9 (diff)
downloadglibc-747785f2b3afbc8b900083988957bff11bb6b11f.zip
glibc-747785f2b3afbc8b900083988957bff11bb6b11f.tar.gz
glibc-747785f2b3afbc8b900083988957bff11bb6b11f.tar.bz2
Tiny strlen for x86-64 optimization.
I didn't remove an instruction from a previous version in the final version.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/x86_64/strlen.S1
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdeps/x86_64/strlen.S b/sysdeps/x86_64/strlen.S
index 86bb8a5..572f3c2 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