mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-12 16:20:06 +00:00
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>
|
||||
|
||||
* sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user