summaryrefslogtreecommitdiff
path: root/sysdeps/i386/i686/multiarch/strspn.S
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2009-12-13 15:23:02 -0800
committerUlrich Drepper <drepper@redhat.com>2009-12-13 15:23:02 -0800
commit2510d01ddba195f8cfaa3c2349f75e0612719d82 (patch)
tree7019955f44175e64455ee1b37d3193b2fc330dd2 /sysdeps/i386/i686/multiarch/strspn.S
parent23b8575625a588e870c516c637945293adb824b4 (diff)
Define bit_SSE2 and index_SSE2.
Diffstat (limited to 'sysdeps/i386/i686/multiarch/strspn.S')
-rw-r--r--sysdeps/i386/i686/multiarch/strspn.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/i386/i686/multiarch/strspn.S b/sysdeps/i386/i686/multiarch/strspn.S
index f306d2d1fb..7fe6f97f41 100644
--- a/sysdeps/i386/i686/multiarch/strspn.S
+++ b/sysdeps/i386/i686/multiarch/strspn.S
@@ -23,7 +23,7 @@
#ifdef HAVE_SSE4_SUPPORT
#include <sysdep.h>
-#include <ifunc-defines.h>
+#include <init-arch.h>
/* Define multiple versions only for the definition in libc. */
#ifndef NOT_IN_libc
@@ -49,7 +49,7 @@ ENTRY(strspn)
jne 1f
call __init_cpu_features
1: leal __strspn_ia32@GOTOFF(%ebx), %eax
- testl $(1<<20), CPUID_OFFSET+COMMON_CPUID_INDEX_1*CPUID_SIZE+CPUID_ECX_OFFSET+__cpu_features@GOTOFF(%ebx)
+ testl $bit_SSE4_2, CPUID_OFFSET+index_SSE4_2+__cpu_features@GOTOFF(%ebx)
jz 2f
leal __strspn_sse42@GOTOFF(%ebx), %eax
2: popl %ebx
@@ -65,7 +65,7 @@ ENTRY(strspn)
jne 1f
call __init_cpu_features
1: leal __strspn_ia32, %eax
- testl $(1<<20), CPUID_OFFSET+COMMON_CPUID_INDEX_1*CPUID_SIZE+CPUID_ECX_OFFSET+__cpu_features
+ testl $index_SSE2, CPUID_OFFSET+index_SSE4_2+__cpu_features
jz 2f
leal __strspn_sse42, %eax
2: ret