Skip to content

Commit 6a0bbb8

Browse files
committed
[X86] RDRAND is a Goldmont feature, not Silvermont
1 parent b3c7e43 commit 6a0bbb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/X86/X86.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -976,8 +976,7 @@ def ProcessorFeatures {
976976
FeatureCRC32,
977977
FeaturePOPCNT,
978978
FeaturePCLMUL,
979-
FeaturePRFCHW,
980-
FeatureRDRAND];
979+
FeaturePRFCHW];
981980
list<SubtargetFeature> SLMTuning = [TuningUseSLMArithCosts,
982981
TuningSlowTwoMemOps,
983982
TuningSlowLEA,
@@ -994,6 +993,7 @@ def ProcessorFeatures {
994993
// Goldmont
995994
list<SubtargetFeature> GLMAdditionalFeatures = [FeatureAES,
996995
FeatureSHA,
996+
FeatureRDRAND,
997997
FeatureRDSEED,
998998
FeatureXSAVE,
999999
FeatureXSAVEOPT,

0 commit comments

Comments
 (0)