aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2010-12-01 22:18:31 -0500
committerUlrich Drepper <drepper@gmail.com>2010-12-01 22:18:31 -0500
commit3a4a2499ec9c87d05a0d7d1522dad3df73c6c9dd (patch)
treeec8dc433847780c1c415ddb6ccc5f16cb935c647 /sysdeps
parent1e24cf6e6e8f6999e8fa188ece41e23f54330743 (diff)
downloadglibc-3a4a2499ec9c87d05a0d7d1522dad3df73c6c9dd.tar
glibc-3a4a2499ec9c87d05a0d7d1522dad3df73c6c9dd.tar.gz
glibc-3a4a2499ec9c87d05a0d7d1522dad3df73c6c9dd.tar.bz2
glibc-3a4a2499ec9c87d05a0d7d1522dad3df73c6c9dd.zip
Remove dead code from x86-32 SSSE3 strncmp.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/i386/i686/multiarch/strcmp-ssse3.S9
1 files changed, 1 insertions, 8 deletions
diff --git a/sysdeps/i386/i686/multiarch/strcmp-ssse3.S b/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
index a4de2259d2..607b69b6ff 100644
--- a/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
+++ b/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
@@ -70,9 +70,7 @@ ENTRY (STRCMP)
movl CNT(%esp), %ebp
cmp $16, %ebp
jb L(less16bytes_sncmp)
- jmp L(more16bytes)
-#endif
-
+#else
movzbl (%eax), %ecx
cmpb %cl, (%edx)
jne L(neq)
@@ -123,11 +121,6 @@ ENTRY (STRCMP)
add $8, %edx
add $8, %eax
-#ifdef USE_AS_STRNCMP
- cmp $8, %ebp
- lea -8(%ebp), %ebp
- je L(eq)
-L(more16bytes):
#endif
movl %edx, %ecx
and $0xfff, %ecx