Skip to content

Commit 2fdda25

Browse files
committed
Enable zmms on NVL and DMR by default
1 parent 3c54972 commit 2fdda25

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

llvm/lib/Target/X86/X86.td

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1177,6 +1177,7 @@ def ProcessorFeatures {
11771177
FeatureAMXTF32];
11781178
list<SubtargetFeature> DMRFeatures =
11791179
!listconcat(GNRDFeatures, DMRAdditionalFeatures);
1180+
list<SubtargetFeature> DMRTuning = !listremove(GNRTuning, [TuningPrefer256Bit]);
11801181

11811182
// Atom
11821183
list<SubtargetFeature> AtomFeatures = [FeatureX87,
@@ -1346,6 +1347,7 @@ def ProcessorFeatures {
13461347
FeaturePREFETCHI];
13471348
list<SubtargetFeature> NVLFeatures =
13481349
!listconcat(PTLFeatures, NVLAdditionalFeatures);
1350+
list<SubtargetFeature> NVLTuning = !listremove(ADLTuning, [TuningPrefer256Bit]);
13491351

13501352
// Clearwaterforest
13511353
list<SubtargetFeature> CWFAdditionalFeatures = [FeaturePREFETCHI,
@@ -1893,7 +1895,7 @@ def : ProcModel<P, AlderlakePModel,
18931895
ProcessorFeatures.PTLFeatures, ProcessorFeatures.ADLTuning>;
18941896
}
18951897
def : ProcModel<"novalake", AlderlakePModel, ProcessorFeatures.NVLFeatures,
1896-
ProcessorFeatures.ADLTuning>;
1898+
ProcessorFeatures.NVLTuning>;
18971899

18981900
def : ProcModel<"clearwaterforest", AlderlakePModel,
18991901
ProcessorFeatures.CWFFeatures, ProcessorFeatures.ADLTuning>;
@@ -1906,7 +1908,7 @@ def : ProcModel<P, SapphireRapidsModel,
19061908
ProcessorFeatures.GNRDFeatures, ProcessorFeatures.GNRTuning>;
19071909
}
19081910
def : ProcModel<"diamondrapids", SapphireRapidsModel,
1909-
ProcessorFeatures.DMRFeatures, ProcessorFeatures.GNRTuning>;
1911+
ProcessorFeatures.DMRFeatures, ProcessorFeatures.DMRTuning>;
19101912

19111913
// AMD CPUs.
19121914

0 commit comments

Comments
 (0)