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" in cpuid()
183 bool CPUID::detectMMX() in detectMMX()
186 cpuid(registers, 1); in detectMMX()
190 bool CPUID::detectCMOV() in detectCMOV()
193 cpuid(registers, 1); in detectCMOV()
197 bool CPUID::detectSSE() in detectSSE()
200 cpuid(registers, 1); in detectSSE()
204 bool CPUID::detectSSE2() in detectSSE2()
207 cpuid(registers, 1); in detectSSE2()
211 bool CPUID::detectSSE3() in detectSSE3()
214 cpuid(registers, 1); in detectSSE3()
218 bool CPUID::detectSSSE3() in detectSSSE3()
221 cpuid(registers, 1); in detectSSSE3()
225 bool CPUID::detectSSE4_1() in detectSSE4_1()
228 cpuid(registers, 1); in detectSSE4_1()
232 int CPUID::detectCoreCount() in detectCoreCount()
261 int CPUID::detectAffinity() in detectAffinity()
290 void CPUID::setFlushToZero(bool enable) in setFlushToZero()
299 void CPUID::setDenormalsAreZero(bool enable) in setDenormalsAreZero()