about summary refs log tree commit diff
path: root/sysdeps/x86_64/multiarch/init-arch.h
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/x86_64/multiarch/init-arch.h
parent23b8575625a588e870c516c637945293adb824b4 (diff)
downloadglibc-2510d01ddba195f8cfaa3c2349f75e0612719d82.tar.gz
glibc-2510d01ddba195f8cfaa3c2349f75e0612719d82.tar.xz
glibc-2510d01ddba195f8cfaa3c2349f75e0612719d82.zip
Define bit_SSE2 and index_SSE2.
Diffstat (limited to 'sysdeps/x86_64/multiarch/init-arch.h')
-rw-r--r--sysdeps/x86_64/multiarch/init-arch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/x86_64/multiarch/init-arch.h b/sysdeps/x86_64/multiarch/init-arch.h
index 9e8915fa40..0f8f77a8a1 100644
--- a/sysdeps/x86_64/multiarch/init-arch.h
+++ b/sysdeps/x86_64/multiarch/init-arch.h
@@ -20,9 +20,11 @@
 
 #include <ifunc-defines.h>
 
+#define bit_SSE2	(1 << 26)
 #define bit_SSSE3	(1 << 9)
 #define bit_SSE4_2	(1 << 20)
 
+#define index_SSE2	COMMON_CPUID_INDEX_1*CPUID_SIZE+CPUID_EDX_OFFSET
 #define index_SSSE3	COMMON_CPUID_INDEX_1*CPUID_SIZE+CPUID_ECX_OFFSET
 #define index_SSE4_2	COMMON_CPUID_INDEX_1*CPUID_SIZE+CPUID_ECX_OFFSET