[arm] Add default FPU for Marvell-pj4

Programming / Compilers / GCC - rearnsha [138bc75d-0d04-0410-961f-82ee72b054a4] - 17 October 2019 13:55 EDT

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.

cb03dea2db2 [arm] Add default FPU for Marvell-pj4
gcc/ChangeLog | 4 ++++
gcc/config/arm/arm-cpus.in | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)

Upstream: gcc.gnu.org

  • Share