From: Thomas Preud'homme Date: Sat, 15 Jul 2017 11:16:28 +0000 (+0000) Subject: Revert "[ARM] Fix definition of __ARM_FEATURE_NUMERIC_MAXMIN" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c2fc34620e4635694f649792e2ae9fc182eb93e7;p=gcc.git Revert "[ARM] Fix definition of __ARM_FEATURE_NUMERIC_MAXMIN" This reverts commit r250206. 2017-07-15 Thomas Preud'homme Revert: 2017-07-14 Thomas Preud'homme gcc * config/arm/arm-c.c (arm_cpu_builtins): Define __ARM_FEATURE_NUMERIC_MAXMIN solely based on TARGET_VFP5. From-SVN: r250222 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4cacc6c6fdb..31bb7de762c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2017-07-15 Thomas Preud'homme + + Revert: + 2017-07-14 Thomas Preud'homme + + * config/arm/arm-c.c (arm_cpu_builtins): Define + __ARM_FEATURE_NUMERIC_MAXMIN solely based on TARGET_VFP5. + 2017-07-14 Kelvin Nilsen * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add diff --git a/gcc/config/arm/arm-c.c b/gcc/config/arm/arm-c.c index 6ab50f7ee33..9178937b6d9 100644 --- a/gcc/config/arm/arm-c.c +++ b/gcc/config/arm/arm-c.c @@ -96,7 +96,7 @@ arm_cpu_builtins (struct cpp_reader* pfile) || TARGET_ARM_ARCH_ISA_THUMB >=2)); def_or_undef_macro (pfile, "__ARM_FEATURE_NUMERIC_MAXMIN", - TARGET_VFP5); + TARGET_ARM_ARCH >= 8 && TARGET_NEON && TARGET_VFP5); def_or_undef_macro (pfile, "__ARM_FEATURE_SIMD32", TARGET_INT_SIMD);