From 8b9302f2b4b0536abb91cb73682ec13640fe9eaf Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Fri, 2 May 2014 12:10:17 -0700 Subject: mesa/x86: Support SSE 4.1 detection on x86-64. Uses the cpuid.h header provided by gcc and clang. Other platforms are encouraged to switch. --- src/mesa/main/cpuinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main/cpuinfo.c') diff --git a/src/mesa/main/cpuinfo.c b/src/mesa/main/cpuinfo.c index 8d482a6ac14..73e295c75b7 100644 --- a/src/mesa/main/cpuinfo.c +++ b/src/mesa/main/cpuinfo.c @@ -34,7 +34,7 @@ void _mesa_get_cpu_features(void) { -#ifdef USE_X86_ASM +#if defined USE_X86_ASM || (defined __x86_64__ && !defined _MSC_VER) _mesa_get_x86_features(); #endif } -- cgit v1.2.3