summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-07-09 02:21:26 +0200
committerMartin Storsjö <martin@martin.st>2012-07-10 14:33:17 +0300
commit3f150ffba31e404ca48624dc6af27b85c1704862 (patch)
tree286b306d9772f2a412208906073ca764dd868d73 /configure
parentf80ddd5bf760e685f4d912ce6e6763e6cab45910 (diff)
x86/cpu: implement support for xgetbv through intrinsics
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index a1506c9262..76ad4c7b70 100755
--- a/configure
+++ b/configure
@@ -1169,6 +1169,7 @@ HAVE_LIST="
windows_h
winsock2_h
xform_asm
+ xgetbv
xmm_clobbers
yasm
"
@@ -2742,6 +2743,7 @@ elif enabled sparc; then
elif enabled x86; then
+ check_code ld immintrin.h "__xgetbv(0)" && enable xgetbv
check_code ld intrin.h "__rdtsc()" && enable rdtsc
check_code ld mmintrin.h "_mm_empty()" && enable mm_empty