diff options
author | Silviu Baranga <silviu.baranga@arm.com> | 2012-09-13 15:05:10 +0000 |
---|---|---|
committer | Silviu Baranga <silviu.baranga@arm.com> | 2012-09-13 15:05:10 +0000 |
commit | 616471d4bfe4717fa86259ff4534703357b3b723 (patch) | |
tree | eff84fd8f8d83fe0a8edb28431c82cff90cf9a0e /lib/Target/ARM/ARM.td | |
parent | 91a7e0184a4f7976ef11cb48697d2782fc1b9be7 (diff) | |
download | llvm-616471d4bfe4717fa86259ff4534703357b3b723.tar.gz llvm-616471d4bfe4717fa86259ff4534703357b3b723.tar.bz2 llvm-616471d4bfe4717fa86259ff4534703357b3b723.tar.xz |
This patch introduces A15 as a target in LLVM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163803 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARM.td')
-rw-r--r-- | lib/Target/ARM/ARM.td | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARM.td b/lib/Target/ARM/ARM.td index 69e2346dc0..ab57779b58 100644 --- a/lib/Target/ARM/ARM.td +++ b/lib/Target/ARM/ARM.td @@ -139,6 +139,12 @@ def ProcA9 : SubtargetFeature<"a9", "ARMProcFamily", "CortexA9", [FeatureVMLxForwarding, FeatureT2XtPk, FeatureFP16, FeatureAvoidPartialCPSR]>; +// FIXME: It has not been determined if A15 has these features. +def ProcA15 : SubtargetFeature<"a15", "ARMProcFamily", "CortexA15", + "Cortex-A15 ARM processors", + [FeatureVMLxForwarding, + FeatureT2XtPk, FeatureFP16, + FeatureAvoidPartialCPSR]>; class ProcNoItin<string Name, list<SubtargetFeature> Features> : Processor<Name, NoItineraries, Features>; @@ -214,6 +220,10 @@ def : ProcessorModel<"cortex-a9-mp", CortexA9Model, [ProcA9, HasV7Ops, FeatureNEON, FeatureDB, FeatureDSPThumb2, FeatureMP, FeatureHasRAS]>; +// FIXME: A15 has currently the same ProcessorModel as A9. +def : ProcessorModel<"cortex-a15", CortexA9Model, + [ProcA15, HasV7Ops, FeatureNEON, FeatureDB, + FeatureDSPThumb2, FeatureHasRAS]>; // V7M Processors. def : ProcNoItin<"cortex-m3", [HasV7Ops, |