From f6fbce761ea697f437cef721ec6711ffcbd1ac1f Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 3 Oct 2012 17:57:53 +0200 Subject: x86: Drop CPU detection intrinsics Now that there is CPU detection in YASM, there will always be one of inline or external assembly enabled, which obviates the need to fall back on CPU detection through compiler intrinsics. --- configure | 6 ------ 1 file changed, 6 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 4c3ebdb281..cd72f36376 100755 --- a/configure +++ b/configure @@ -1138,7 +1138,6 @@ HAVE_LIST=" cbrtf closesocket cmov - cpuid cpunop dcbzl dev_bktr_ioctl_bt848_h @@ -1206,7 +1205,6 @@ HAVE_LIST=" rint round roundf - rweflags sched_getaffinity sdl sdl_video_size @@ -1250,7 +1248,6 @@ HAVE_LIST=" windows_h winsock2_h xform_asm - xgetbv xmm_clobbers " @@ -3070,10 +3067,7 @@ elif enabled sparc; then elif enabled x86; then - check_code ld immintrin.h "return __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 intrin.h "unsigned int x = __readeflags()" && enable rweflags check_code ld mmintrin.h "_mm_empty()" && enable mm_empty -- cgit v1.2.3