We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
-evex512
-march=native
1 parent 2c5f470 commit 87f3407Copy full SHA for 87f3407
llvm/lib/TargetParser/Host.cpp
@@ -1802,7 +1802,8 @@ bool sys::getHostCPUFeatures(StringMap<bool> &Features) {
1802
Features["rtm"] = HasLeaf7 && ((EBX >> 11) & 1);
1803
// AVX512 is only supported if the OS supports the context save for it.
1804
Features["avx512f"] = HasLeaf7 && ((EBX >> 16) & 1) && HasAVX512Save;
1805
- Features["evex512"] = Features["avx512f"];
+ if (Features["avx512f"])
1806
+ Features["evex512"] = true;
1807
Features["avx512dq"] = HasLeaf7 && ((EBX >> 17) & 1) && HasAVX512Save;
1808
Features["rdseed"] = HasLeaf7 && ((EBX >> 18) & 1);
1809
Features["adx"] = HasLeaf7 && ((EBX >> 19) & 1);
0 commit comments