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

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 21 18:41:12 PST 2017


Author: ctopper
Date: Thu Dec 21 18:41:12 2017
New Revision: 321336

URL: http://llvm.org/viewvc/llvm-project?rev=321336&view=rev
Log:
[X86] Enable PRFCHW feature on KNL/KNM and all CPUs inherited from Broadwell.

Modified:
    llvm/trunk/lib/Target/X86/X86.td

Modified: llvm/trunk/lib/Target/X86/X86.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86.td?rev=321336&r1=321335&r2=321336&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86.td (original)
+++ llvm/trunk/lib/Target/X86/X86.td Thu Dec 21 18:41:12 2017
@@ -639,7 +639,8 @@ def : HaswellProc<"core-avx2">; // Legac
 
 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<IVBF
   FeatureLZCNT,
   FeatureBMI,
   FeatureBMI2,
-  FeatureFMA
+  FeatureFMA,
+  FeaturePRFCHW
 ]>;
 
 // FIXME: define KNL model




More information about the llvm-commits mailing list