[PATCH] D16289: Added Cannonlake (CNL) processor type to X86 processors
Elena Demikhovsky via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 18 05:04:24 PST 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL258046: Added Cannonlake processor to X86 Target (authored by delena).
Changed prior to commit:
http://reviews.llvm.org/D16289?vs=45163&id=45170#toc
Repository:
rL LLVM
http://reviews.llvm.org/D16289
Files:
llvm/trunk/lib/Target/X86/X86.td
Index: llvm/trunk/lib/Target/X86/X86.td
===================================================================
--- llvm/trunk/lib/Target/X86/X86.td
+++ llvm/trunk/lib/Target/X86/X86.td
@@ -511,7 +511,6 @@
FeatureLZCNT,
FeatureBMI,
FeatureBMI2,
- FeatureVBMI,
FeatureFMA,
FeatureRTM,
FeatureHLE,
@@ -526,6 +525,43 @@
def : SkylakeProc<"skylake">;
def : SkylakeProc<"skx">; // Legacy alias.
+class CannonlakeProc<string Name> : ProcessorModel<Name, HaswellModel, [
+ FeatureMMX,
+ FeatureAVX512,
+ FeatureFXSR,
+ FeatureCDI,
+ FeatureDQI,
+ FeatureBWI,
+ FeatureVLX,
+ FeaturePKU,
+ FeatureCMPXCHG16B,
+ FeatureSlowBTMem,
+ FeaturePOPCNT,
+ FeatureAES,
+ FeaturePCLMUL,
+ FeatureXSAVE,
+ FeatureXSAVEOPT,
+ FeatureRDRAND,
+ FeatureF16C,
+ FeatureFSGSBase,
+ FeatureMOVBE,
+ FeatureLZCNT,
+ FeatureBMI,
+ FeatureBMI2,
+ FeatureVBMI,
+ FeatureFMA,
+ FeatureRTM,
+ FeatureHLE,
+ FeatureADX,
+ FeatureRDSEED,
+ FeatureSlowIncDec,
+ FeatureMPX,
+ FeatureXSAVEC,
+ FeatureXSAVES,
+ FeatureLAHFSAHF
+]>;
+def : CannonlakeProc<"cannonlake">;
+def : CannonlakeProc<"cnl">;
// AMD CPUs.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16289.45170.patch
Type: text/x-patch
Size: 1133 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160118/7d5da8db/attachment.bin>
More information about the llvm-commits
mailing list