[PATCH] D65840: [X86] Support -march=tigerlake

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 10 01:36:51 PDT 2019


craig.topper added inline comments.


================
Comment at: llvm/lib/Support/Host.cpp:1088
     setFeature(X86::FEATURE_AVX5124FMAPS);
+  if (HasLeaf7 && ((EDX >> 8) & 1))
+    setFeature(X86::FEATURE_AVX512VP2INTERSECT);
----------------
xiangzhangllvm wrote:
> craig.topper wrote:
> > This also needs HasAVX512Save. Sorry I didn't catch that earlier.
> OK, seems all AVX512 features AND the HasAVX512Save, but I check the SPEC of avxvp2intersect, it just show  CPUID.7.0.EDX[8].
It's in the E4NF table where it says "State requirement, Table 2-37 not met"


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65840/new/

https://reviews.llvm.org/D65840





More information about the llvm-commits mailing list