Home
last modified time | relevance | path

Searched refs:HasLeaf7 (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Support/
DHost.cpp246 bool HasLeaf7 = MaxLeaf >= 0x7 && in getHostCPUName() local
248 bool HasADX = HasLeaf7 && ((EBX >> 19) & 1); in getHostCPUName()
249 bool HasAVX2 = HasAVX && HasLeaf7 && (EBX & 0x20); in getHostCPUName()
250 bool HasAVX512 = HasLeaf7 && HasAVX512Save && ((EBX >> 16) & 1); in getHostCPUName()
801 bool HasLeaf7 = MaxLevel >= 7 && in getHostCPUFeatures() local
805 Features["avx2"] = HasAVXSave && HasLeaf7 && ((EBX >> 5) & 1); in getHostCPUFeatures()
807 Features["fsgsbase"] = HasLeaf7 && ((EBX >> 0) & 1); in getHostCPUFeatures()
808 Features["bmi"] = HasLeaf7 && ((EBX >> 3) & 1); in getHostCPUFeatures()
809 Features["hle"] = HasLeaf7 && ((EBX >> 4) & 1); in getHostCPUFeatures()
810 Features["bmi2"] = HasLeaf7 && ((EBX >> 8) & 1); in getHostCPUFeatures()
[all …]