[llvm] [X86] Support -march=pantherlake,clearwaterforest (PR #69277)

Freddy Ye via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 17 06:11:00 PDT 2023


================
@@ -1249,6 +1249,18 @@ def ProcessorFeatures {
   list<SubtargetFeature> ARLSFeatures =
     !listconcat(SRFFeatures, ARLSAdditionalFeatures);
 
+  // Pantherlake
+  list<SubtargetFeature> PTLAdditionalFeatures = [FeaturePREFETCHI];
+  list<SubtargetFeature> PTLFeatures =
+    !listconcat(ARLSFeatures, PTLAdditionalFeatures);
----------------
FreddyLeaf wrote:

I referred to xed patch: https://github.com/intelxed/xed/blob/main/datafiles/ptl/ptl-chips.txt

https://github.com/llvm/llvm-project/pull/69277


More information about the llvm-commits mailing list