Use CPUID_OFFSET instead of FEATURE_OFFSET
This commit is contained in:
parent
020ecba7fc
commit
039c8ae6d5
@ -1,5 +1,9 @@
|
||||
2010-02-16 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* sysdeps/i386/i686/multiarch/memcmp.S (memcmp): Use CPUID_OFFSET
|
||||
instead of FEATURE_OFFSET.
|
||||
* sysdeps/i386/i686/multiarch/strcmp.S (strcmp): Likewise.
|
||||
|
||||
* sysdeps/i386/i686/multiarch/memcmp-sse4.S: Add alignnments.
|
||||
Fix one unwind info problem.
|
||||
|
||||
|
@ -58,7 +58,7 @@ ENTRY(memcmp)
|
||||
testl $bit_SSSE3, CPUID_OFFSET+index_SSSE3+__cpu_features
|
||||
jz 2f
|
||||
leal __memcmp_ssse3, %eax
|
||||
testl $bit_SSE4_2, FEATURE_OFFSET+index_SSE4_2+__cpu_features
|
||||
testl $bit_SSE4_2, CPUID_OFFSET+index_SSE4_2+__cpu_features
|
||||
jz 2f
|
||||
leal __memcmp_sse4_2, %eax
|
||||
2: ret
|
||||
|
@ -83,7 +83,7 @@ ENTRY(STRCMP)
|
||||
testl $bit_SSSE3, CPUID_OFFSET+index_SSSE3+__cpu_features
|
||||
jz 2f
|
||||
leal __STRCMP_SSSE3, %eax
|
||||
testl $bit_SSE4_2, FEATURE_OFFSET+index_SSE4_2+__cpu_features
|
||||
testl $bit_SSE4_2, CPUID_OFFSET+index_SSE4_2+__cpu_features
|
||||
jz 2f
|
||||
leal __STRCMP_SSE4_2, %eax
|
||||
2: ret
|
||||
|
Loading…
x
Reference in New Issue
Block a user