Lines Matching refs:CPU_CPUIDFeatures
267 static int CPU_CPUIDFeatures[4]; variable
284 CPU_CPUIDFeatures[0] = a; in CPU_calcCPUIDFeatures()
285 CPU_CPUIDFeatures[1] = b; in CPU_calcCPUIDFeatures()
286 CPU_CPUIDFeatures[2] = c; in CPU_calcCPUIDFeatures()
287 CPU_CPUIDFeatures[3] = d; in CPU_calcCPUIDFeatures()
514 #define CPU_haveRDTSC() (CPU_CPUIDFeatures[3] & 0x00000010)
515 #define CPU_haveMMX() (CPU_CPUIDFeatures[3] & 0x00800000)
516 #define CPU_haveSSE() (CPU_CPUIDFeatures[3] & 0x02000000)
517 #define CPU_haveSSE2() (CPU_CPUIDFeatures[3] & 0x04000000)
518 #define CPU_haveSSE3() (CPU_CPUIDFeatures[2] & 0x00000001)
519 #define CPU_haveSSE41() (CPU_CPUIDFeatures[2] & 0x00080000)
520 #define CPU_haveSSE42() (CPU_CPUIDFeatures[2] & 0x00100000)
521 #define CPU_haveAVX() (CPU_OSSavesYMM && (CPU_CPUIDFeatures[2] & 0x10000000))