[llvm] 6a0bbb8 - [X86] RDRAND is a Goldmont feature, not Silvermont
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 11 04:28:35 PST 2022
Author: Simon Pilgrim
Date: 2022-12-11T12:28:22Z
New Revision: 6a0bbb84cef28ed642a730e55c52447b8c870647
URL: https://github.com/llvm/llvm-project/commit/6a0bbb84cef28ed642a730e55c52447b8c870647
DIFF: https://github.com/llvm/llvm-project/commit/6a0bbb84cef28ed642a730e55c52447b8c870647.diff
LOG: [X86] RDRAND is a Goldmont feature, not Silvermont
Added:
Modified:
llvm/lib/Target/X86/X86.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86.td b/llvm/lib/Target/X86/X86.td
index 9e2e2ce3440e..c36c241282e6 100644
--- a/llvm/lib/Target/X86/X86.td
+++ b/llvm/lib/Target/X86/X86.td
@@ -976,8 +976,7 @@ def ProcessorFeatures {
FeatureCRC32,
FeaturePOPCNT,
FeaturePCLMUL,
- FeaturePRFCHW,
- FeatureRDRAND];
+ FeaturePRFCHW];
list<SubtargetFeature> SLMTuning = [TuningUseSLMArithCosts,
TuningSlowTwoMemOps,
TuningSlowLEA,
@@ -994,6 +993,7 @@ def ProcessorFeatures {
// Goldmont
list<SubtargetFeature> GLMAdditionalFeatures = [FeatureAES,
FeatureSHA,
+ FeatureRDRAND,
FeatureRDSEED,
FeatureXSAVE,
FeatureXSAVEOPT,
More information about the llvm-commits
mailing list