arm-fpus.def: Replace booleans with feature flags.
authorMatthew Wahab <matthew.wahab@arm.com>
Wed, 12 Aug 2015 15:42:31 +0000 (15:42 +0000)
committerMatthew Wahab <mwahab@gcc.gnu.org>
Wed, 12 Aug 2015 15:42:31 +0000 (15:42 +0000)
commitcafd2e45872e1b3512101ef63c7ed58aa723e686
treec4bcab68250694f9a4802c41927ff4cfcc7ea31d
parent441fb2cdb76e26ef0e559d87d3f0f1302a0c4b7c
arm-fpus.def: Replace booleans with feature flags.

* config/arm/arm-fpus.def: Replace booleans with feature flags.
Update comment.
* config/arm/arm.c (ARM_FPU): Update macro.
* config/arm/arm.h (TARGET_NEON_FP16): Update feature test.
(TARGET_FP16): Likewise.
(TARGET_CRYPTO): Likewise.
(TARGET_NEON): Likewise.
(struct arm_fpu_desc): Remove fields neon, fp16 and crypto.  Add
field features.

From-SVN: r226821
gcc/ChangeLog
gcc/config/arm/arm-fpus.def
gcc/config/arm/arm.c
gcc/config/arm/arm.h