summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSjoerd Meijer <sjoerd.meijer@arm.com>2016-02-02 09:28:20 +0000
committerSjoerd Meijer <sjoerd.meijer@arm.com>2016-02-02 09:28:20 +0000
commitffe19f524548fd8b4e16db4c6bd3528850890e00 (patch)
treecdd205694a3cffa9fb2e4cc0964b50b29bc044c6
parent21b473d49035480d4ade2b0dd647d9a348aa54ce (diff)
downloadbcm5719-llvm-ffe19f524548fd8b4e16db4c6bd3528850890e00.tar.gz
bcm5719-llvm-ffe19f524548fd8b4e16db4c6bd3528850890e00.zip
Removed FeatureVFPOnlySP from the Cortex-R7 processor model
description and changed the regression test accordingly. The default configuration of a Cortex-R7 is to implement the VFPv3-D16 architecture and the feature line as it was is too restrictive. llvm-svn: 259480
-rw-r--r--llvm/lib/Target/ARM/ARM.td1
-rw-r--r--llvm/test/CodeGen/ARM/build-attributes.ll3
2 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/Target/ARM/ARM.td b/llvm/lib/Target/ARM/ARM.td
index dad42326676..fa6e6c71a1d 100644
--- a/llvm/lib/Target/ARM/ARM.td
+++ b/llvm/lib/Target/ARM/ARM.td
@@ -618,7 +618,6 @@ def : ProcessorModel<"cortex-r5", CortexA8Model, [ARMv7r, ProcR5,
def : ProcessorModel<"cortex-r7", CortexA8Model, [ARMv7r, ProcR7,
FeatureHasRAS,
FeatureVFP3,
- FeatureVFPOnlySP,
FeatureD16,
FeatureFP16,
FeatureMP,
diff --git a/llvm/test/CodeGen/ARM/build-attributes.ll b/llvm/test/CodeGen/ARM/build-attributes.ll
index 98a88808883..6b1b59dcac2 100644
--- a/llvm/test/CodeGen/ARM/build-attributes.ll
+++ b/llvm/test/CodeGen/ARM/build-attributes.ll
@@ -1192,7 +1192,7 @@
; CORTEX-R7: .eabi_attribute 7, 82
; CORTEX-R7: .eabi_attribute 8, 1
; CORTEX-R7: .eabi_attribute 9, 2
-; CORTEX-R7: .fpu vfpv3xd
+; CORTEX-R7: .fpu vfpv3-d16-fp16
; CORTEX-R7-NOT: .eabi_attribute 19
;; We default to IEEE 754 compliance
; CORTEX-R7: .eabi_attribute 20, 1
@@ -1201,7 +1201,6 @@
; CORTEX-R7: .eabi_attribute 23, 3
; CORTEX-R7: .eabi_attribute 24, 1
; CORTEX-R7: .eabi_attribute 25, 1
-; CORTEX-R7: .eabi_attribute 27, 1
; CORTEX-R7-NOT: .eabi_attribute 28
; CORTEX-R7: .eabi_attribute 36, 1
; CORTEX-R7: .eabi_attribute 38, 1
OpenPOWER on IntegriCloud