[arm] Use arm_active_target for most FP feature tests
authorRichard Earnshaw <rearnsha@arm.com>
Thu, 15 Dec 2016 15:59:20 +0000 (15:59 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Thu, 15 Dec 2016 15:59:20 +0000 (15:59 +0000)
commit091df64952e4922ad4160cd7ea0e76684b3ad0ee
tree6eeaa49caa894d009dd67226f3da9aee2f1cf190
parent8990ddcdbc634df731387515e0f17b8b825b6300
[arm] Use arm_active_target for most FP feature tests

Now that the isa feature bits are all available in arm_active_target
we can use that for most of the feature tests that are needed.

* arm.h (TARGET_VFPD32): Use arm_active_target.
(TARGET_VFP3): Likewise.
(TARGET_VFP5): Likewise.
(TARGET_VFP_SINGLE): Likewise.
(TARGET_VFP_DOUBLE): Likewise.
(TARGET_NEON_FP16): Likewise.
(TARGET_FP16): Likewise.
(TARGET_FMA): Likewise.
(TARGET_FPU_ARMV8): Likewise.
(TARGET_CRYPTO): Likewise.
(TARGET_NEON): Likewise.
(TARGET_FPU_FEATURES): Delete.
* arm.c (arm_option_check_internal): Check for iwmmxt conflict with
Neon using arm_active_target.

From-SVN: r243712
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/config/arm/arm.h