Remove dead code from x86-32 SSSE3 strncmp.

This commit is contained in:
H.J. Lu 2010-12-01 22:18:31 -05:00 committed by Ulrich Drepper
parent 1e24cf6e6e
commit 3a4a2499ec
2 changed files with 6 additions and 8 deletions

View File

@ -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.

View File

@ -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