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 | |
parent | 1e24cf6e6e8f6999e8fa188ece41e23f54330743 (diff) | |
download | glibc-3a4a2499ec9c87d05a0d7d1522dad3df73c6c9dd.tar.gz glibc-3a4a2499ec9c87d05a0d7d1522dad3df73c6c9dd.tar.xz glibc-3a4a2499ec9c87d05a0d7d1522dad3df73c6c9dd.zip |
Remove dead code from x86-32 SSSE3 strncmp.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/i386/i686/multiarch/strcmp-ssse3.S | 9 |
2 files changed, 6 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog index 86ba84ab30..e19cc5bc0b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-12-01 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove + unused codes. + 2010-11-30 Ulrich Drepper <drepper@gmail.com> * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations. 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 |