• Home
  • Raw
  • Download

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();
40 bool CPUID::enableMMX = true;
41 bool CPUID::enableCMOV = true;
42 bool CPUID::enableSSE = true;
43 bool CPUID::enableSSE2 = true;
44 bool CPUID::enableSSE3 = true;
45 bool CPUID::enableSSSE3 = true;
46 bool CPUID::enableSSE4_1 = true;
48 void CPUID::setEnableMMX(bool enable) in setEnableMMX()
62 void CPUID::setEnableCMOV(bool enable) in setEnableCMOV()
76 void CPUID::setEnableSSE(bool enable) in setEnableSSE()
94 void CPUID::setEnableSSE2(bool enable) in setEnableSSE2()
112 void CPUID::setEnableSSE3(bool enable) in setEnableSSE3()
130 void CPUID::setEnableSSSE3(bool enable) in setEnableSSSE3()
148 void CPUID::setEnableSSE4_1(bool enable) in setEnableSSE4_1()
163 static void cpuid(int registers[4], int info) in cpuid() function
169 __asm volatile("cpuid" 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()