Skip to content

Commit

Permalink
Use CPUID_OFFSET instead of FEATURE_OFFSET
Browse files Browse the repository at this point in the history
  • Loading branch information
H.J. Lu authored and Ulrich Drepper committed Feb 19, 2010
1 parent 020ecba commit 039c8ae
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion sysdeps/i386/i686/multiarch/memcmp.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/i386/i686/multiarch/strcmp.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 039c8ae

Please sign in to comment.