forked from OSchip/llvm-project
[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 llvm-svn: 315859
This commit is contained in:
parent
4b3876f7a3
commit
a1f9c9dd8b
|
@ -579,7 +579,8 @@ def HSWFeatures : ProcessorFeatures<IVBFeatures.Value, [
|
|||
|
||||
class HaswellProc<string Name> : ProcModel<Name, HaswellModel,
|
||||
HSWFeatures.Value, [
|
||||
ProcIntelHSW
|
||||
ProcIntelHSW,
|
||||
FeatureSlowBTMem
|
||||
]>;
|
||||
def : HaswellProc<"haswell">;
|
||||
def : HaswellProc<"core-avx2">; // Legacy alias.
|
||||
|
@ -590,7 +591,8 @@ def BDWFeatures : ProcessorFeatures<HSWFeatures.Value, [
|
|||
]>;
|
||||
class BroadwellProc<string Name> : ProcModel<Name, HaswellModel,
|
||||
BDWFeatures.Value, [
|
||||
ProcIntelBDW
|
||||
ProcIntelBDW,
|
||||
FeatureSlowBTMem
|
||||
]>;
|
||||
def : BroadwellProc<"broadwell">;
|
||||
|
||||
|
@ -606,7 +608,8 @@ def SKLFeatures : ProcessorFeatures<BDWFeatures.Value, [
|
|||
|
||||
class SkylakeClientProc<string Name> : ProcModel<Name, SkylakeClientModel,
|
||||
SKLFeatures.Value, [
|
||||
ProcIntelSKL
|
||||
ProcIntelSKL,
|
||||
FeatureSlowBTMem
|
||||
]>;
|
||||
def : SkylakeClientProc<"skylake">;
|
||||
|
||||
|
@ -629,6 +632,7 @@ def KNLFeatures : ProcessorFeatures<IVBFeatures.Value, [
|
|||
class KnightsLandingProc<string Name> : ProcModel<Name, HaswellModel,
|
||||
KNLFeatures.Value, [
|
||||
ProcIntelKNL,
|
||||
FeatureSlowBTMem,
|
||||
FeatureSlowTwoMemOps,
|
||||
FeatureFastPartialYMMorZMMWrite
|
||||
]>;
|
||||
|
@ -637,6 +641,7 @@ def : KnightsLandingProc<"knl">;
|
|||
class KnightsMillProc<string Name> : ProcModel<Name, HaswellModel,
|
||||
KNLFeatures.Value, [
|
||||
ProcIntelKNL,
|
||||
FeatureSlowBTMem,
|
||||
FeatureSlowTwoMemOps,
|
||||
FeatureFastPartialYMMorZMMWrite
|
||||
]>;
|
||||
|
@ -654,8 +659,9 @@ def SKXFeatures : ProcessorFeatures<SKLFeatures.Value, [
|
|||
|
||||
class SkylakeServerProc<string Name> : ProcModel<Name, SkylakeServerModel,
|
||||
SKXFeatures.Value, [
|
||||
ProcIntelSKX
|
||||
]>;
|
||||
ProcIntelSKX,
|
||||
FeatureSlowBTMem
|
||||
]>;
|
||||
def : SkylakeServerProc<"skylake-avx512">;
|
||||
def : SkylakeServerProc<"skx">; // Legacy alias.
|
||||
|
||||
|
@ -667,7 +673,8 @@ def CNLFeatures : ProcessorFeatures<SKXFeatures.Value, [
|
|||
|
||||
class CannonlakeProc<string Name> : ProcModel<Name, HaswellModel,
|
||||
CNLFeatures.Value, [
|
||||
ProcIntelCNL
|
||||
ProcIntelCNL,
|
||||
FeatureSlowBTMem
|
||||
]>;
|
||||
def : CannonlakeProc<"cannonlake">;
|
||||
|
||||
|
|
Loading…
Reference in New Issue