• Home
  • Raw
  • Download

Lines Matching refs:EBX

709   unsigned int EAX, EBX;  in getAvailableFeatures()  local
727 MaxLeaf >= 0x7 && !getX86CpuIDAndInfoEx(0x7, 0x0, &EAX, &EBX, &ECX, &EDX); in getAvailableFeatures()
728 bool HasADX = HasLeaf7 && ((EBX >> 19) & 1); in getAvailableFeatures()
729 bool HasAVX2 = HasAVX && HasLeaf7 && (EBX & 0x20); in getAvailableFeatures()
730 bool HasAVX512 = HasLeaf7 && HasAVX512Save && ((EBX >> 16) & 1); in getAvailableFeatures()
737 getX86CpuIDAndInfo(0x80000001, &EAX, &EBX, &ECX, &EDX); in getAvailableFeatures()
743 unsigned EAX = 0, EBX = 0, ECX = 0, EDX = 0; in getHostCPUName() local
748 if (getX86CpuIDAndInfo(0x1, &EAX, &EBX, &ECX, &EDX)) in getHostCPUName()
751 unsigned Brand_id = EBX & 0xff; in getHostCPUName()
1155 unsigned EAX = 0, EBX = 0, ECX = 0, EDX = 0; in getHostCPUFeatures() local
1166 getX86CpuIDAndInfo(1, &EAX, &EBX, &ECX, &EDX); in getHostCPUFeatures()
1200 getX86CpuIDAndInfo(0x80000000, &MaxExtLevel, &EBX, &ECX, &EDX); in getHostCPUFeatures()
1203 !getX86CpuIDAndInfo(0x80000001, &EAX, &EBX, &ECX, &EDX); in getHostCPUFeatures()
1213 MaxLevel >= 7 && !getX86CpuIDAndInfoEx(0x7, 0x0, &EAX, &EBX, &ECX, &EDX); in getHostCPUFeatures()
1216 Features["avx2"] = HasAVXSave && HasLeaf7 && ((EBX >> 5) & 1); in getHostCPUFeatures()
1218 Features["fsgsbase"] = HasLeaf7 && ((EBX >> 0) & 1); in getHostCPUFeatures()
1219 Features["sgx"] = HasLeaf7 && ((EBX >> 2) & 1); in getHostCPUFeatures()
1220 Features["bmi"] = HasLeaf7 && ((EBX >> 3) & 1); in getHostCPUFeatures()
1221 Features["hle"] = HasLeaf7 && ((EBX >> 4) & 1); in getHostCPUFeatures()
1222 Features["bmi2"] = HasLeaf7 && ((EBX >> 8) & 1); in getHostCPUFeatures()
1223 Features["invpcid"] = HasLeaf7 && ((EBX >> 10) & 1); in getHostCPUFeatures()
1224 Features["rtm"] = HasLeaf7 && ((EBX >> 11) & 1); in getHostCPUFeatures()
1225 Features["rdseed"] = HasLeaf7 && ((EBX >> 18) & 1); in getHostCPUFeatures()
1226 Features["adx"] = HasLeaf7 && ((EBX >> 19) & 1); in getHostCPUFeatures()
1227 Features["smap"] = HasLeaf7 && ((EBX >> 20) & 1); in getHostCPUFeatures()
1228 Features["pcommit"] = HasLeaf7 && ((EBX >> 22) & 1); in getHostCPUFeatures()
1229 Features["clflushopt"] = HasLeaf7 && ((EBX >> 23) & 1); in getHostCPUFeatures()
1230 Features["clwb"] = HasLeaf7 && ((EBX >> 24) & 1); in getHostCPUFeatures()
1231 Features["sha"] = HasLeaf7 && ((EBX >> 29) & 1); in getHostCPUFeatures()
1234 Features["avx512f"] = HasLeaf7 && ((EBX >> 16) & 1) && HasAVX512Save; in getHostCPUFeatures()
1235 Features["avx512dq"] = HasLeaf7 && ((EBX >> 17) & 1) && HasAVX512Save; in getHostCPUFeatures()
1236 Features["avx512ifma"] = HasLeaf7 && ((EBX >> 21) & 1) && HasAVX512Save; in getHostCPUFeatures()
1237 Features["avx512pf"] = HasLeaf7 && ((EBX >> 26) & 1) && HasAVX512Save; in getHostCPUFeatures()
1238 Features["avx512er"] = HasLeaf7 && ((EBX >> 27) & 1) && HasAVX512Save; in getHostCPUFeatures()
1239 Features["avx512cd"] = HasLeaf7 && ((EBX >> 28) & 1) && HasAVX512Save; in getHostCPUFeatures()
1240 Features["avx512bw"] = HasLeaf7 && ((EBX >> 30) & 1) && HasAVX512Save; in getHostCPUFeatures()
1241 Features["avx512vl"] = HasLeaf7 && ((EBX >> 31) & 1) && HasAVX512Save; in getHostCPUFeatures()
1249 !getX86CpuIDAndInfoEx(0xd, 0x1, &EAX, &EBX, &ECX, &EDX); in getHostCPUFeatures()