From 936d75b04b5e0fa86b3a5205cbcab5d15fafcd81 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Sun, 15 Oct 2017 16:41:15 +0000 Subject: [PATCH] [X86] Add FeatureSlowBTMem to Haswell, Broadwell, Skylake, Cannonlake, and Knights Landing CPUs. Summary: I see nothing in Agner Fog's tables to indicate that this improved between Ivy Bridge and Haswell. It's also set for all Atom CPUs so I assume KNL should have it too. Reviewers: RKSimon, zvi, gadi.haber Reviewed By: gadi.haber Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D38890 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315859 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86.td | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/lib/Target/X86/X86.td b/lib/Target/X86/X86.td index 07e78adf928..2e7902a6064 100644 --- a/lib/Target/X86/X86.td +++ b/lib/Target/X86/X86.td @@ -579,7 +579,8 @@ def HSWFeatures : ProcessorFeatures : ProcModel; def : HaswellProc<"haswell">; def : HaswellProc<"core-avx2">; // Legacy alias. @@ -590,7 +591,8 @@ def BDWFeatures : ProcessorFeatures; class BroadwellProc : ProcModel; def : BroadwellProc<"broadwell">; @@ -606,7 +608,8 @@ def SKLFeatures : ProcessorFeatures : ProcModel; def : SkylakeClientProc<"skylake">; @@ -629,6 +632,7 @@ def KNLFeatures : ProcessorFeatures : ProcModel; @@ -637,6 +641,7 @@ def : KnightsLandingProc<"knl">; class KnightsMillProc : ProcModel; @@ -654,8 +659,9 @@ def SKXFeatures : ProcessorFeatures : ProcModel; + ProcIntelSKX, + FeatureSlowBTMem +]>; def : SkylakeServerProc<"skylake-avx512">; def : SkylakeServerProc<"skx">; // Legacy alias. @@ -667,7 +673,8 @@ def CNLFeatures : ProcessorFeatures : ProcModel; def : CannonlakeProc<"cannonlake">; -- 2.11.0