[X86] Enable PRFCHW feature on KNL/KNM and all CPUs inherited from Broadwell.

llvm-svn: 321336
This commit is contained in:
Craig Topper 2017-12-22 02:41:12 +00:00
parent e268598dd3
commit 67885f5d58
1 changed files with 4 additions and 2 deletions

View File

@ -639,7 +639,8 @@ def : HaswellProc<"core-avx2">; // Legacy alias.
def BDWFeatures : ProcessorFeatures<HSWFeatures.Value, [
FeatureADX,
FeatureRDSEED
FeatureRDSEED,
FeaturePRFCHW
]>;
class BroadwellProc<string Name> : ProcModel<Name, BroadwellModel,
BDWFeatures.Value, [
@ -676,7 +677,8 @@ def KNLFeatures : ProcessorFeatures<IVBFeatures.Value, [
FeatureLZCNT,
FeatureBMI,
FeatureBMI2,
FeatureFMA
FeatureFMA,
FeaturePRFCHW
]>;
// FIXME: define KNL model