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 47b6dc4 commit fac122aCopy full SHA for fac122a
llvm/lib/TargetParser/Host.cpp
@@ -1774,7 +1774,8 @@ bool sys::getHostCPUFeatures(StringMap<bool> &Features) {
1774
Features["rtm"] = HasLeaf7 && ((EBX >> 11) & 1);
1775
// AVX512 is only supported if the OS supports the context save for it.
1776
Features["avx512f"] = HasLeaf7 && ((EBX >> 16) & 1) && HasAVX512Save;
1777
- Features["evex512"] = Features["avx512f"];
+ if (Features["avx512f"])
1778
+ Features["evex512"] = true;
1779
Features["avx512dq"] = HasLeaf7 && ((EBX >> 17) & 1) && HasAVX512Save;
1780
Features["rdseed"] = HasLeaf7 && ((EBX >> 18) & 1);
1781
Features["adx"] = HasLeaf7 && ((EBX >> 19) & 1);
0 commit comments