]> granicus.if.org Git - llvm/commitdiff
[X86] Enable PRFCHW feature on KNL/KNM and all CPUs inherited from Broadwell.
authorCraig Topper <craig.topper@intel.com>
Fri, 22 Dec 2017 02:41:12 +0000 (02:41 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 22 Dec 2017 02:41:12 +0000 (02:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321336 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86.td

index 9a4af17ab84c94c18a9576bf93d601964bb2f1ca..7e7c35569093478fb8a891da5f633623f9f2ad60 100644 (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