mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-25 17:20:48 +00:00
Adds support for the Cortex-A17 to the ARM backend
Patch by Matthew Wahab. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219606 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -228,6 +228,15 @@ def ProcA15 : SubtargetFeature<"a15", "ARMProcFamily", "CortexA15",
|
||||
FeatureAvoidPartialCPSR,
|
||||
FeatureTrustZone, FeatureVirtualization]>;
|
||||
|
||||
def ProcA17 : SubtargetFeature<"a17", "ARMProcFamily", "CortexA17",
|
||||
"Cortex-A17 ARM processors",
|
||||
[FeatureVMLxForwarding,
|
||||
FeatureT2XtPk, FeatureVFP4,
|
||||
FeatureHWDiv, FeatureHWDivARM,
|
||||
FeatureAvoidPartialCPSR,
|
||||
FeatureVirtualization,
|
||||
FeatureTrustZone]>;
|
||||
|
||||
def ProcA53 : SubtargetFeature<"a53", "ARMProcFamily", "CortexA53",
|
||||
"Cortex-A53 ARM processors",
|
||||
[FeatureHWDiv, FeatureHWDivARM,
|
||||
@@ -366,6 +375,12 @@ def : ProcessorModel<"cortex-a15", CortexA9Model,
|
||||
FeatureDSPThumb2, FeatureHasRAS,
|
||||
FeatureAClass]>;
|
||||
|
||||
// FIXME: A17 has currently the same Schedule model as A9
|
||||
def : ProcessorModel<"cortex-a17", CortexA9Model,
|
||||
[ProcA17, HasV7Ops, FeatureNEON, FeatureDB,
|
||||
FeatureDSPThumb2, FeatureMP,
|
||||
FeatureHasRAS, FeatureAClass]>;
|
||||
|
||||
// FIXME: krait has currently the same Schedule model as A9
|
||||
def : ProcessorModel<"krait", CortexA9Model,
|
||||
[ProcKrait, HasV7Ops,
|
||||
|
@@ -42,7 +42,7 @@ class ARMSubtarget : public ARMGenSubtargetInfo {
|
||||
protected:
|
||||
enum ARMProcFamilyEnum {
|
||||
Others, CortexA5, CortexA7, CortexA8, CortexA9, CortexA12, CortexA15,
|
||||
CortexR5, Swift, CortexA53, CortexA57, Krait
|
||||
CortexA17, CortexR5, Swift, CortexA53, CortexA57, Krait,
|
||||
};
|
||||
enum ARMProcClassEnum {
|
||||
None, AClass, RClass, MClass
|
||||
|
Reference in New Issue
Block a user