[llvm] r341861 - Move FeatureAES from SLM, WSM and SNB to GLM and SKL

Erich Keane via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 10 14:12:20 PDT 2018


Author: erichkeane
Date: Mon Sep 10 14:12:19 2018
New Revision: 341861

URL: http://llvm.org/viewvc/llvm-project?rev=341861&view=rev
Log:
Move FeatureAES from SLM, WSM and SNB to GLM and SKL

Complements https://reviews.llvm.org/D51510 and matches
https://gcc.gnu.org/ml/gcc-patches/2018-08/msg01940.html

GoldmontProc already has FeatureAES.

Patch By: thiagomacieira

Differential Revision: https://reviews.llvm.org/D51565

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=341861&r1=341860&r2=341861&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86.td (original)
+++ llvm/trunk/lib/Target/X86/X86.td Mon Sep 10 14:12:19 2018
@@ -589,7 +589,6 @@ class SilvermontProc<string Name> : Proc
   FeatureMOVBE,
   FeaturePOPCNT,
   FeaturePCLMUL,
-  FeatureAES,
   FeatureSlowDivide64,
   FeatureSlowTwoMemOps,
   FeaturePRFCHW,
@@ -702,7 +701,6 @@ class WestmereProc<string Name> : Proces
   Feature64Bit,
   FeatureCMPXCHG16B,
   FeaturePOPCNT,
-  FeatureAES,
   FeaturePCLMUL,
   FeatureLAHFSAHF,
   FeatureMacroFusion
@@ -721,7 +719,6 @@ def SNBFeatures : ProcessorFeatures<[],
   Feature64Bit,
   FeatureCMPXCHG16B,
   FeaturePOPCNT,
-  FeatureAES,
   FeatureSlowDivide64,
   FeaturePCLMUL,
   FeatureXSAVE,
@@ -791,6 +788,7 @@ class BroadwellProc<string Name> : ProcM
 def : BroadwellProc<"broadwell">;
 
 def SKLFeatures : ProcessorFeatures<BDWFeatures.Value, [
+  FeatureAES,
   FeatureMPX,
   FeatureRTM,
   FeatureXSAVEC,




More information about the llvm-commits mailing list