Lines Matching full:cpuid
15 #include "CPUID.hpp"
32 bool CPUID::MMX = detectMMX();
33 bool CPUID::CMOV = detectCMOV();
34 bool CPUID::SSE = detectSSE();
35 bool CPUID::SSE2 = detectSSE2();
36 bool CPUID::SSE3 = detectSSE3();
37 bool CPUID::SSSE3 = detectSSSE3();
38 bool CPUID::SSE4_1 = detectSSE4_1();
39 int CPUID::cores = detectCoreCount();
40 int CPUID::affinity = detectAffinity();
42 bool CPUID::enableMMX = true;
43 bool CPUID::enableCMOV = true;
44 bool CPUID::enableSSE = true;
45 bool CPUID::enableSSE2 = true;
46 bool CPUID::enableSSE3 = true;
47 bool CPUID::enableSSSE3 = true;
48 bool CPUID::enableSSE4_1 = true;
50 void CPUID::setEnableMMX(bool enable) in setEnableMMX()
64 void CPUID::setEnableCMOV(bool enable) in setEnableCMOV()
78 void CPUID::setEnableSSE(bool enable) in setEnableSSE()
96 void CPUID::setEnableSSE2(bool enable) in setEnableSSE2()
114 void CPUID::setEnableSSE3(bool enable) in setEnableSSE3()
132 void CPUID::setEnableSSSE3(bool enable) in setEnableSSSE3()
150 void CPUID::setEnableSSE4_1(bool enable) in setEnableSSE4_1()
165 static void cpuid(int registers[4], int info) in cpuid() function
171 …__asm volatile("cpuid": "=a" (registers[0]), "=b" (registers[1]), "=c" (registers[2]), "=d" (regis… in cpuid()
181 bool CPUID::detectMMX() in detectMMX()
184 cpuid(registers, 1); in detectMMX()
188 bool CPUID::detectCMOV() in detectCMOV()
191 cpuid(registers, 1); in detectCMOV()
195 bool CPUID::detectSSE() in detectSSE()
198 cpuid(registers, 1); in detectSSE()
202 bool CPUID::detectSSE2() in detectSSE2()
205 cpuid(registers, 1); in detectSSE2()
209 bool CPUID::detectSSE3() in detectSSE3()
212 cpuid(registers, 1); in detectSSE3()
216 bool CPUID::detectSSSE3() in detectSSSE3()
219 cpuid(registers, 1); in detectSSSE3()
223 bool CPUID::detectSSE4_1() in detectSSE4_1()
226 cpuid(registers, 1); in detectSSE4_1()
230 int CPUID::detectCoreCount() in detectCoreCount()
259 int CPUID::detectAffinity() in detectAffinity()
288 void CPUID::setFlushToZero(bool enable) in setFlushToZero()
297 void CPUID::setDenormalsAreZero(bool enable) in setDenormalsAreZero()