Skip to content

Commit f76d10d

Browse files
committed
remove unused cpu check
1 parent f45d0d1 commit f76d10d

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/Misc.h

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,6 @@
66
#include <sstream>
77
#include <vector>
88

9-
#if defined(WIN) && !defined(__GNUC__)
10-
#define x86_cpuid(func,af,bf,cf,df) \
11-
do {\
12-
__asm mov eax, func\
13-
__asm cpuid\
14-
__asm mov af, eax\
15-
__asm mov bf, ebx\
16-
__asm mov cf, ecx\
17-
__asm mov df, edx\
18-
} while(0)
19-
#else
20-
#define x86_cpuid(func,af,bf,cf,df) \
21-
__asm__ __volatile ("cpuid":\
22-
"=a" (af), "=b" (bf), "=c" (cf), "=d" (df) : "a" (func));
23-
#endif
24-
259
//Linear interpolation
2610
template <typename T> inline T LinearInterpolate(T val1, T val2, T lowerCoord, T upperCoord, T coord)
2711
{

0 commit comments

Comments
 (0)