diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-07-09 04:21:27 +0400 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-07-10 15:33:24 +0400 |
commit | c0ee695bd7b278f83252c9f93803b107d7aa1e9a (patch) | |
tree | 8b709351767373366506ebe2e57efa5e66ebff74 /configure | |
parent | 3f150ffba31e404ca48624dc6af27b85c1704862 (diff) |
x86/cpu: implement support for cpuid through intrinsics
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1061,6 +1061,7 @@ HAVE_LIST=" cbrtf closesocket cmov + cpuid dcbzl dev_bktr_ioctl_bt848_h dev_bktr_ioctl_meteor_h @@ -2744,6 +2745,7 @@ elif enabled sparc; then elif enabled x86; then check_code ld immintrin.h "__xgetbv(0)" && enable xgetbv + check_code ld intrin.h "int info[4]; __cpuid(info, 0)" && enable cpuid check_code ld intrin.h "__rdtsc()" && enable rdtsc check_code ld mmintrin.h "_mm_empty()" && enable mm_empty |