Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DHost.cpp1046 bool HasLeaf7 = in getAvailableFeatures() local
1049 if (HasLeaf7 && ((EBX >> 3) & 1)) in getAvailableFeatures()
1051 if (HasLeaf7 && ((EBX >> 5) & 1) && HasAVX) in getAvailableFeatures()
1053 if (HasLeaf7 && ((EBX >> 8) & 1)) in getAvailableFeatures()
1055 if (HasLeaf7 && ((EBX >> 16) & 1) && HasAVX512Save) in getAvailableFeatures()
1057 if (HasLeaf7 && ((EBX >> 17) & 1) && HasAVX512Save) in getAvailableFeatures()
1059 if (HasLeaf7 && ((EBX >> 19) & 1)) in getAvailableFeatures()
1061 if (HasLeaf7 && ((EBX >> 21) & 1) && HasAVX512Save) in getAvailableFeatures()
1063 if (HasLeaf7 && ((EBX >> 23) & 1)) in getAvailableFeatures()
1065 if (HasLeaf7 && ((EBX >> 26) & 1) && HasAVX512Save) in getAvailableFeatures()
[all …]
/external/llvm/lib/Support/
DHost.cpp726 bool HasLeaf7 = in getAvailableFeatures() local
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()
1212 bool HasLeaf7 = in getHostCPUFeatures() local
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()
[all …]