From f76d10df4d4b16400cbf2a47ebf95e1241c9c4cf Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sun, 18 Mar 2018 10:25:52 -0400 Subject: [PATCH] remove unused cpu check --- src/Misc.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/Misc.h b/src/Misc.h index c7434c2da..9ea14f160 100644 --- a/src/Misc.h +++ b/src/Misc.h @@ -6,22 +6,6 @@ #include #include -#if defined(WIN) && !defined(__GNUC__) -#define x86_cpuid(func,af,bf,cf,df) \ - do {\ - __asm mov eax, func\ - __asm cpuid\ - __asm mov af, eax\ - __asm mov bf, ebx\ - __asm mov cf, ecx\ - __asm mov df, edx\ - } while(0) -#else -#define x86_cpuid(func,af,bf,cf,df) \ -__asm__ __volatile ("cpuid":\ - "=a" (af), "=b" (bf), "=c" (cf), "=d" (df) : "a" (func)); -#endif - //Linear interpolation template inline T LinearInterpolate(T val1, T val2, T lowerCoord, T upperCoord, T coord) {