Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DHost.cpp911 bool HasLeaf7 = in getAvailableFeatures() local
914 if (HasLeaf7 && ((EBX >> 3) & 1)) in getAvailableFeatures()
916 if (HasLeaf7 && ((EBX >> 5) & 1) && HasAVX) in getAvailableFeatures()
918 if (HasLeaf7 && ((EBX >> 9) & 1)) in getAvailableFeatures()
920 if (HasLeaf7 && ((EBX >> 16) & 1) && HasAVX512Save) in getAvailableFeatures()
922 if (HasLeaf7 && ((EBX >> 17) & 1) && HasAVX512Save) in getAvailableFeatures()
924 if (HasLeaf7 && ((EBX >> 19) & 1)) in getAvailableFeatures()
926 if (HasLeaf7 && ((EBX >> 21) & 1) && HasAVX512Save) in getAvailableFeatures()
928 if (HasLeaf7 && ((EBX >> 23) & 1)) in getAvailableFeatures()
930 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 …]
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DHost.cpp760 bool HasLeaf7 = in getAvailableFeatures() local
762 bool HasADX = HasLeaf7 && ((EBX >> 19) & 1); in getAvailableFeatures()
763 bool HasAVX2 = HasAVX && HasLeaf7 && (EBX & 0x20); in getAvailableFeatures()
764 bool HasAVX512 = HasLeaf7 && HasAVX512Save && ((EBX >> 16) & 1); in getAvailableFeatures()
1326 bool HasLeaf7 = in getHostCPUFeatures() local
1330 Features["avx2"] = HasAVXSave && HasLeaf7 && ((EBX >> 5) & 1); in getHostCPUFeatures()
1332 Features["fsgsbase"] = HasLeaf7 && ((EBX >> 0) & 1); in getHostCPUFeatures()
1333 Features["sgx"] = HasLeaf7 && ((EBX >> 2) & 1); in getHostCPUFeatures()
1334 Features["bmi"] = HasLeaf7 && ((EBX >> 3) & 1); in getHostCPUFeatures()
1335 Features["hle"] = HasLeaf7 && ((EBX >> 4) & 1); in getHostCPUFeatures()
[all …]