summaryrefslogtreecommitdiff
path: root/sysdeps/i386/i686/multiarch/strlen.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/strlen.S
parent23b8575625a588e870c516c637945293adb824b4 (diff)
downloadglibc-2510d01ddba195f8cfaa3c2349f75e0612719d82.tar.gz
Define bit_SSE2 and index_SSE2.
Diffstat (limited to 'sysdeps/i386/i686/multiarch/strlen.S')
-rw-r--r--sysdeps/i386/i686/multiarch/strlen.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/i386/i686/multiarch/strlen.S b/sysdeps/i386/i686/multiarch/strlen.S
index 0c1e8646ff..9786add745 100644
--- a/sysdeps/i386/i686/multiarch/strlen.S
+++ b/sysdeps/i386/i686/multiarch/strlen.S
@@ -19,7 +19,7 @@
02111-1307 USA. */
#include <sysdep.h>
-#include <ifunc-defines.h>
+#include <init-arch.h>
/* Define multiple versions only for the definition in libc and for the
DSO. In static binaries, we need strlen before the initialization
@@ -46,7 +46,7 @@ ENTRY(strlen)
jne 1f
call __init_cpu_features
1: leal __strlen_ia32@GOTOFF(%ebx), %eax
- testl $(1<<26), CPUID_OFFSET+COMMON_CPUID_INDEX_1*CPUID_SIZE+CPUID_EDX_OFFSET+__cpu_features@GOTOFF(%ebx)
+ testl $bit_SSE2, CPUID_OFFSET+index_SSE2+__cpu_features@GOTOFF(%ebx)
jz 2f
leal __strlen_sse2@GOTOFF(%ebx), %eax
2: popl %ebx