Undo accidental checkin.

This commit is contained in:
Ulrich Drepper 2010-12-14 13:09:28 -05:00
parent dbb0472f05
commit 283007197c
2 changed files with 34 additions and 25 deletions

View File

@ -1,3 +1,7 @@
2010-12-14 Ulrich Drepper <dreper@gmail.com>
* sysdeps/i386/i686/multiarch/strcmp.S: Undo accident checkin.
2010-12-10 Andreas Schwab <schwab@redhat.com> 2010-12-10 Andreas Schwab <schwab@redhat.com>
* wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under

View File

@ -40,32 +40,37 @@
need strncmp before the initialization happened. */ need strncmp before the initialization happened. */
#if (defined SHARED || !defined USE_AS_STRNCMP) && !defined NOT_IN_libc #if (defined SHARED || !defined USE_AS_STRNCMP) && !defined NOT_IN_libc
# ifdef SHARED # ifdef SHARED
.section .gnu.linkonce.t.__i686.get_pc_thunk.dx,"ax",@progbits .section .gnu.linkonce.t.__i686.get_pc_thunk.bx,"ax",@progbits
.globl __i686.get_pc_thunk.dx .globl __i686.get_pc_thunk.bx
.hidden __i686.get_pc_thunk.dx .hidden __i686.get_pc_thunk.bx
.p2align 2 .p2align 4
.type __i686.get_pc_thunk.dx,@function .type __i686.get_pc_thunk.bx,@function
__i686.get_pc_thunk.dx: __i686.get_pc_thunk.bx:
movl (%esp), %edx movl (%esp), %ebx
ret ret
.size __i686.get_pc_thunk.dx, .-__i686.get_pc_thunk.dx
.text .text
ENTRY(STRCMP) ENTRY(STRCMP)
.type STRCMP, @gnu_indirect_function .type STRCMP, @gnu_indirect_function
call __i686.get_pc_thunk.dx pushl %ebx
addl $_GLOBAL_OFFSET_TABLE_, %edx cfi_adjust_cfa_offset (4)
cmpl $0, KIND_OFFSET+__cpu_features@GOTOFF(%edx) cfi_rel_offset (ebx, 0)
call __i686.get_pc_thunk.bx
addl $_GLOBAL_OFFSET_TABLE_, %ebx
cmpl $0, KIND_OFFSET+__cpu_features@GOTOFF(%ebx)
jne 1f jne 1f
call __init_cpu_features call __init_cpu_features
1: leal __STRCMP_SSE4_2@GOTOFF(%edx), %eax 1: leal __STRCMP_IA32@GOTOFF(%ebx), %eax
testl $bit_SSE4_2, CPUID_OFFSET+index_SSE4_2+__cpu_features@GOTOFF(%edx) testl $bit_SSSE3, CPUID_OFFSET+index_SSSE3+__cpu_features@GOTOFF(%ebx)
jnz 2f jz 2f
leal __STRCMP_SSSE3@GOTOFF(%edx), %eax leal __STRCMP_SSSE3@GOTOFF(%ebx), %eax
testl $bit_SSSE3, CPUID_OFFSET+index_SSSE3+__cpu_features@GOTOFF(%edx) testl $bit_SSE4_2, CPUID_OFFSET+index_SSE4_2+__cpu_features@GOTOFF(%ebx)
jnz 2f jz 2f
leal __STRCMP_IA32@GOTOFF(%edx), %ecx leal __STRCMP_SSE4_2@GOTOFF(%ebx), %eax
2: ret 2: popl %ebx
cfi_adjust_cfa_offset (-4)
cfi_restore (ebx)
ret
END(STRCMP) END(STRCMP)
# else # else
.text .text
@ -74,13 +79,13 @@ ENTRY(STRCMP)
cmpl $0, KIND_OFFSET+__cpu_features cmpl $0, KIND_OFFSET+__cpu_features
jne 1f jne 1f
call __init_cpu_features call __init_cpu_features
1: leal __STRCMP_SSE4_2, %eax 1: leal __STRCMP_IA32, %eax
testl $bit_SSE4_2, CPUID_OFFSET+index_SSE4_2+__cpu_features
jnz 2f
leal __STRCMP_SSSE3, %eax
testl $bit_SSSE3, CPUID_OFFSET+index_SSSE3+__cpu_features testl $bit_SSSE3, CPUID_OFFSET+index_SSSE3+__cpu_features
jnz 2f jz 2f
leal __STRCMP_IA32, %eax leal __STRCMP_SSSE3, %eax
testl $bit_SSE4_2, CPUID_OFFSET+index_SSE4_2+__cpu_features
jz 2f
leal __STRCMP_SSE4_2, %eax
2: ret 2: ret
END(STRCMP) END(STRCMP)
# endif # endif