aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2019-10-17 13:55:11 +0000
committerRichard Earnshaw <rearnsha@gcc.gnu.org>2019-10-17 13:55:11 +0000
commitcdb77369ca02673e878b1a1b7856de0f979d2fec (patch)
treeb1eb1fbc74d20ddb36c22cdd65cb0934aaf291f0 /gcc
parent2d57b12e2acd52b843adbcd6d5909cb0b9f7196b (diff)
downloadgcc-cdb77369ca02673e878b1a1b7856de0f979d2fec.zip
gcc-cdb77369ca02673e878b1a1b7856de0f979d2fec.tar.gz
gcc-cdb77369ca02673e878b1a1b7856de0f979d2fec.tar.bz2
[arm] Add default FPU for Marvell-pj4
According to GAS, the Marvell PJ4 CPU has a VFPv3-D16 floating point unit, but GCC's CPU configuration tables omits this meaning that -mfpu=auto will not correctly select the FPU. This patch fixes this by adding the +fp option to the architecture specification for this device. * config/arm/arm-cpus.in (marvel-pj4): Add +fp to the architecture. From-SVN: r277111
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/arm/arm-cpus.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7eb331d..97cb064 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2019-10-17 Richard Earnshaw <rearnsha@arm.com>
+
+ * config/arm/arm-cpus.in (marvel-pj4): Add +fp to the architecture.
+
2019-10-17 Yuliang Wang <yuliang.wang@arm.com>
* config/aarch64/aarch64-sve2.md (aarch64_sve2_eor3<mode>)
diff --git a/gcc/config/arm/arm-cpus.in b/gcc/config/arm/arm-cpus.in
index f8a3b3d..50379a0 100644
--- a/gcc/config/arm/arm-cpus.in
+++ b/gcc/config/arm/arm-cpus.in
@@ -1150,7 +1150,7 @@ end cpu cortex-m3
begin cpu marvell-pj4
tune flags LDSCHED
- architecture armv7-a+mp+sec
+ architecture armv7-a+mp+sec+fp
costs marvell_pj4
end cpu marvell-pj4