mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-30 04:35:00 +00:00
[X86] Remove FeatureAES for 'corei7' CPU. 'corei7' should match 'nehalem' which doesn't have AES. Having AES and not PCLMUL makes 'corei7' halfway between Nehalem and Westmere.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233517 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c637444fed
commit
5ffc995ff3
@ -273,17 +273,15 @@ def : SilvermontProc<"silvermont">;
|
||||
def : SilvermontProc<"slm">; // Legacy alias.
|
||||
|
||||
// "Arrandale" along with corei3 and corei5
|
||||
class NehalemProc<string Name, list<SubtargetFeature> AdditionalFeatures>
|
||||
: ProcessorModel<Name, SandyBridgeModel, !listconcat([
|
||||
FeatureSSE42,
|
||||
FeatureCMPXCHG16B,
|
||||
FeatureSlowBTMem,
|
||||
FeatureFastUAMem,
|
||||
FeaturePOPCNT
|
||||
],
|
||||
AdditionalFeatures)>;
|
||||
def : NehalemProc<"nehalem", []>;
|
||||
def : NehalemProc<"corei7", [FeatureAES]>;
|
||||
class NehalemProc<string Name> : ProcessorModel<Name, SandyBridgeModel, [
|
||||
FeatureSSE42,
|
||||
FeatureCMPXCHG16B,
|
||||
FeatureSlowBTMem,
|
||||
FeatureFastUAMem,
|
||||
FeaturePOPCNT
|
||||
]>;
|
||||
def : NehalemProc<"nehalem">;
|
||||
def : NehalemProc<"corei7">;
|
||||
|
||||
// Westmere is a similar machine to nehalem with some additional features.
|
||||
// Westmere is the corei3/i5/i7 path from nehalem to sandybridge
|
||||
|
Loading…
x
Reference in New Issue
Block a user