[ARM] Fix definition of __ARM_FEATURE_NUMERIC_MAXMIN
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Fri, 14 Jul 2017 15:26:28 +0000 (15:26 +0000)
committerThomas Preud'homme <thopre01@gcc.gnu.org>
Fri, 14 Jul 2017 15:26:28 +0000 (15:26 +0000)
commit514b60f11b0397f57eeb79a6110f6ad7880500f5
tree9053fc21b40a7611520f7e488a13d0ebed1205f3
parent2376caf911f027b072c236b6a91f152a7ffe4f67
[ARM] Fix definition of __ARM_FEATURE_NUMERIC_MAXMIN

Definition of __ARM_FEATURE_NUMERIC_MAXMIN checks for
TARGET_ARM_ARCH >= 8 and TARGET_NEON being true in addition to
TARGET_VFP5. However, instructions covered by this macro are part of
FPv5 which is available in ARMv7E-M architecture. This commit fixes the
macro to only check for TARGET_VFP5.

2017-07-14  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/
    * config/arm/arm-c.c (arm_cpu_builtins): Define
    __ARM_FEATURE_NUMERIC_MAXMIN solely based on TARGET_VFP5.

From-SVN: r250206
gcc/ChangeLog
gcc/config/arm/arm-c.c