[AArch64] Specify fp16 support for Cortex-A55 and Cortex-A75
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Thu, 14 Dec 2017 09:50:33 +0000 (09:50 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Thu, 14 Dec 2017 09:50:33 +0000 (09:50 +0000)
commit30af63d7cbde0e47f3b9e3ad2320f7fd65dc762f
tree81afa03b1e467c1ecd9e7768e55e8326431b079a
parent9096c2c543f9d47822cc086ff1cfb21767d6a1b4
[AArch64] Specify fp16 support for Cortex-A55 and Cortex-A75

The Cortex-A55 and Cortex-A75 processors support the fp16 extension.
We already specify them as such in the arm port.
This patch makes aarch64 consistent on this front.

Bootstrapped and tested on aarch64-none-linux-gnu.
Manually checked that compiling with aarch64-none-linux-gnu-gcc -mcpu=cortex-a55 -dM -E - < /dev/null
shows __ARM_FEATURE_FP16_VECTOR_ARITHMETIC and __ARM_FEATURE_FP16_SCALAR_ARITHMETIC being specified
as expected whereas they were not before this patch.

* config/aarch64/aarch64-cores.def (cortex-a55, cortex-a75,
cortex-a75.cortex-a55): Specify AARCH64_FL_F16 in the arch features.

From-SVN: r255624
gcc/ChangeLog
gcc/config/aarch64/aarch64-cores.def