summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaved Absar <javed.absar@arm.com>2015-06-26 17:42:37 +0000
committerJaved Absar <javed.absar@arm.com>2015-06-26 17:42:37 +0000
commitbced3032e02b95433b9ab576f030f20a687657cd (patch)
treeffbbbe7430b6966010c652ae3a4be846db168c23
parentc4866d29dd74336d4a7d09fd7b2ee730214d4dad (diff)
downloadbcm5719-llvm-bced3032e02b95433b9ab576f030f20a687657cd.tar.gz
bcm5719-llvm-bced3032e02b95433b9ab576f030f20a687657cd.zip
[ARM] Cortex-R5 is not VFPOnlySP
This patch fixes the error in ARM.td which stated that Cortex-R5 floating point unit can do only single precision, when it can do double as well. Reviewers: rengolin Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D10769 llvm-svn: 240799
-rw-r--r--llvm/lib/Target/ARM/ARM.td2
-rw-r--r--llvm/test/CodeGen/ARM/build-attributes.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARM.td b/llvm/lib/Target/ARM/ARM.td
index ff12b36a0ea..96b4742da2b 100644
--- a/llvm/lib/Target/ARM/ARM.td
+++ b/llvm/lib/Target/ARM/ARM.td
@@ -416,7 +416,7 @@ def : ProcessorModel<"cortex-r4f", CortexA8Model,
def : ProcessorModel<"cortex-r5", CortexA8Model,
[ProcR5, HasV7Ops, FeatureDB,
FeatureVFP3, FeatureDSPThumb2,
- FeatureHasRAS, FeatureVFPOnlySP,
+ FeatureHasRAS,
FeatureD16, FeatureRClass]>;
// FIXME: R7 has currently the same ProcessorModel as A8 and is modelled as R5.
diff --git a/llvm/test/CodeGen/ARM/build-attributes.ll b/llvm/test/CodeGen/ARM/build-attributes.ll
index 69f02c0a86d..9aa2d6565d3 100644
--- a/llvm/test/CodeGen/ARM/build-attributes.ll
+++ b/llvm/test/CodeGen/ARM/build-attributes.ll
@@ -1071,7 +1071,7 @@
; CORTEX-R5: .eabi_attribute 23, 3
; CORTEX-R5: .eabi_attribute 24, 1
; CORTEX-R5: .eabi_attribute 25, 1
-; CORTEX-R5: .eabi_attribute 27, 1
+; CORTEX-R5-NOT: .eabi_attribute 27, 1
; CORTEX-R5-NOT: .eabi_attribute 28
; CORTEX-R5-NOT: .eabi_attribute 36
; CORTEX-R5: .eabi_attribute 38, 1
OpenPOWER on IntegriCloud