mirror of git://sourceware.org/git/glibc.git
Remove dead code from x86-32 SSSE3 strncmp.
This commit is contained in:
parent
1e24cf6e6e
commit
3a4a2499ec
|
@ -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>
|
2010-11-30 Ulrich Drepper <drepper@gmail.com>
|
||||||
|
|
||||||
* sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
|
* sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
|
||||||
|
|
|
@ -70,9 +70,7 @@ ENTRY (STRCMP)
|
||||||
movl CNT(%esp), %ebp
|
movl CNT(%esp), %ebp
|
||||||
cmp $16, %ebp
|
cmp $16, %ebp
|
||||||
jb L(less16bytes_sncmp)
|
jb L(less16bytes_sncmp)
|
||||||
jmp L(more16bytes)
|
#else
|
||||||
#endif
|
|
||||||
|
|
||||||
movzbl (%eax), %ecx
|
movzbl (%eax), %ecx
|
||||||
cmpb %cl, (%edx)
|
cmpb %cl, (%edx)
|
||||||
jne L(neq)
|
jne L(neq)
|
||||||
|
@ -123,11 +121,6 @@ ENTRY (STRCMP)
|
||||||
|
|
||||||
add $8, %edx
|
add $8, %edx
|
||||||
add $8, %eax
|
add $8, %eax
|
||||||
#ifdef USE_AS_STRNCMP
|
|
||||||
cmp $8, %ebp
|
|
||||||
lea -8(%ebp), %ebp
|
|
||||||
je L(eq)
|
|
||||||
L(more16bytes):
|
|
||||||
#endif
|
#endif
|
||||||
movl %edx, %ecx
|
movl %edx, %ecx
|
||||||
and $0xfff, %ecx
|
and $0xfff, %ecx
|
||||||
|
|
Loading…
Reference in New Issue