summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM
diff options
context:
space:
mode:
authorAlexandros Lamprineas <alexandros.lamprineas@arm.com>2016-03-10 17:38:41 +0000
committerAlexandros Lamprineas <alexandros.lamprineas@arm.com>2016-03-10 17:38:41 +0000
commit843164242e99a8377ac04212654531eb2b68ca99 (patch)
tree9aab5fd25b7e29bc0070c1832cc3a31dc7d946c6 /llvm/lib/Target/ARM
parent6dd4b57987aeb74366261834d865ee0fbefb15f6 (diff)
downloadbcm5719-llvm-843164242e99a8377ac04212654531eb2b68ca99.tar.gz
bcm5719-llvm-843164242e99a8377ac04212654531eb2b68ca99.zip
[ARM] Cortex-R8 support
This patch adds Cortex-R8 to Target Parser and TableGen. It also adds CodeGen tests for the build attributes. Patch by Pablo Barrio. Differential Revision: http://reviews.llvm.org/D17925 llvm-svn: 263132
Diffstat (limited to 'llvm/lib/Target/ARM')
-rw-r--r--llvm/lib/Target/ARM/ARM.td12
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARM.td b/llvm/lib/Target/ARM/ARM.td
index fa6e6c71a1d..b92e941bf02 100644
--- a/llvm/lib/Target/ARM/ARM.td
+++ b/llvm/lib/Target/ARM/ARM.td
@@ -627,6 +627,18 @@ def : ProcessorModel<"cortex-r7", CortexA8Model, [ARMv7r, ProcR7,
FeatureAvoidPartialCPSR,
FeatureT2XtPk]>;
+def : ProcessorModel<"cortex-r8", CortexA8Model, [ARMv7r,
+ FeatureHasRAS,
+ FeatureVFP3,
+ FeatureD16,
+ FeatureFP16,
+ FeatureMP,
+ FeatureSlowFPBrcc,
+ FeatureHWDivARM,
+ FeatureHasSlowFPVMLx,
+ FeatureAvoidPartialCPSR,
+ FeatureT2XtPk]>;
+
def : ProcNoItin<"cortex-m3", [ARMv7m]>;
def : ProcNoItin<"sc300", [ARMv7m]>;
OpenPOWER on IntegriCloud