Skip to content

Commit 5af0f87

Browse files
committed
Inherit from Sierraforest
1 parent cb8656e commit 5af0f87

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

llvm/lib/Target/X86/X86.td

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1334,10 +1334,14 @@ def ProcessorFeatures {
13341334

13351335

13361336
// Clearwaterforest
1337-
list<SubtargetFeature> CWFAdditionalFeatures = [FeatureCLDEMOTE,
1337+
list<SubtargetFeature> CWFAdditionalFeatures = [FeaturePREFETCHI,
1338+
FeatureAVXVNNIINT16,
1339+
FeatureSHA512,
1340+
FeatureSM3,
1341+
FeatureSM4,
13381342
FeatureUSERMSR];
13391343
list<SubtargetFeature> CWFFeatures =
1340-
!listconcat(PTLFeatures, CWFAdditionalFeatures);
1344+
!listconcat(SRFFeatures, CWFAdditionalFeatures);
13411345

13421346
// Knights Landing
13431347
list<SubtargetFeature> KNLFeatures = [FeatureX87,

llvm/lib/TargetParser/X86TargetParser.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ constexpr FeatureBitset FeaturesArrowlakeS =
178178
constexpr FeatureBitset FeaturesPantherlake =
179179
FeaturesArrowlakeS | FeaturePREFETCHI;
180180
constexpr FeatureBitset FeaturesClearwaterforest =
181-
FeaturesPantherlake | FeatureUSERMSR | FeatureCLDEMOTE;
181+
FeaturesSierraforest | FeatureAVXVNNIINT16 | FeatureSHA512 | FeatureSM3 |
182+
FeatureSM4 | FeaturePREFETCHI | FeatureUSERMSR;
182183

183184
// Geode Processor.
184185
constexpr FeatureBitset FeaturesGeode =

0 commit comments

Comments
 (0)