[ARM] Cortex-R4F is not VFPOnlySP
authorJaved Absar <javed.absar@arm.com>
Fri, 26 Jun 2015 12:14:56 +0000 (12:14 +0000)
committerJaved Absar <javed.absar@arm.com>
Fri, 26 Jun 2015 12:14:56 +0000 (12:14 +0000)
Cortex-R4F TRM states that fpu supports both single and double precision.
This patch corrects the information in ARM.td file and corresponding test.

Reviewers: rengolin

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D10763

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240776 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARM.td
test/CodeGen/ARM/build-attributes.ll

index c7ea18a17fef03e7a3c0e4930ba230c6920074be..ff12b36a0ea9278b34067180ea20c44f8aa49027 100644 (file)
@@ -410,7 +410,7 @@ def : ProcessorModel<"cortex-r4",   CortexA8Model,
 def : ProcessorModel<"cortex-r4f",  CortexA8Model,
                                     [ProcR4,
                                      FeatureSlowFPBrcc, FeatureHasSlowFPVMLx,
-                                     FeatureVFP3, FeatureVFPOnlySP, FeatureD16]>;
+                                     FeatureVFP3, FeatureD16]>;
 
 // FIXME: R5 has currently the same ProcessorModel as A8.
 def : ProcessorModel<"cortex-r5",   CortexA8Model,
index 0cc4f230f2845bcfa6df38f23f3464be7fbaeea1..69f02c0a86db9f7e71f307a02fcf399ca878f181 100644 (file)
 ; CORTEX-R4F:  .eabi_attribute 23, 3
 ; CORTEX-R4F:  .eabi_attribute 24, 1
 ; CORTEX-R4F:  .eabi_attribute 25, 1
-; CORTEX-R4F:  .eabi_attribute 27, 1
+; CORTEX-R4F-NOT:  .eabi_attribute 27, 1
 ; CORTEX-R4F-NOT:  .eabi_attribute 28
 ; CORTEX-R4F-NOT:  .eabi_attribute 36
 ; CORTEX-R4F:  .eabi_attribute 38, 1