diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2010-12-01 22:18:31 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2010-12-01 22:18:31 -0500 |
commit | 3a4a2499ec9c87d05a0d7d1522dad3df73c6c9dd (patch) | |
tree | ec8dc433847780c1c415ddb6ccc5f16cb935c647 /sysdeps/i386 | |
parent | 1e24cf6e6e8f6999e8fa188ece41e23f54330743 (diff) | |
download | glibc-3a4a2499ec9c87d05a0d7d1522dad3df73c6c9dd.zip glibc-3a4a2499ec9c87d05a0d7d1522dad3df73c6c9dd.tar.gz glibc-3a4a2499ec9c87d05a0d7d1522dad3df73c6c9dd.tar.bz2 |
Remove dead code from x86-32 SSSE3 strncmp.
Diffstat (limited to 'sysdeps/i386')
-rw-r--r-- | sysdeps/i386/i686/multiarch/strcmp-ssse3.S | 9 |
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 a4de225..607b69b 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 |