This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [R220456][4.9] Backport the patch which fixes __ARM_FP & __ARM_NEON_FP predefines
- From: Kyrill Tkachov <kyrylo dot tkachov at arm dot com>
- To: Mantas Mikaitis <Mantas dot Mikaitis at arm dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 10 Jul 2015 13:10:11 +0100
- Subject: Re: [R220456][4.9] Backport the patch which fixes __ARM_FP & __ARM_NEON_FP predefines
- Authentication-results: sourceware.org; auth=none
- References: <54DDCBE2 dot 3060001 at arm dot com>
Hi Mantas,
On 13/02/15 10:03, Mantas Mikaitis wrote:
Hi all,
This is a backport for gcc-4_9-branch of the patch " [PATCH][ARM]
__ARM_FP & __ARM_NEON_FP defined when -march=armv7-m" posted in:
https://gcc.gnu.org/ml/gcc-patches/2014-12/msg00250.html
arm-none-linux-gnueabi/hf tested without any new regressions.
OK for gcc-4_9-branch?
Ok.
I have applied this on your behalf to the 4.9 branch with r225667 with
the slightly adjusted ChangeLog entries:
2015-07-10 Mantas Mikaitis <Mantas.Mikaitis@arm.com>
* config/arm/arm.h (TARGET_NEON_FP): Remove conditional definition,
define to zero if !TARGET_NEON.
(TARGET_ARM_FP): Add !TARGET_SOFT_FLOAT into the conditional
definition.
2015-07-10 Mantas Mikaitis <Mantas.Mikaitis@arm.com>
* gcc.target/arm/macro_defs0.c: New test.
* gcc.target/arm/macro_defs1.c: New test.
* gcc.target/arm/macro_defs2.c: New test.
Thanks,
Kyrill
gcc/ChangeLog:
2015-02-13 Mantas Mikaitis <Mantas.Mikaitis@arm.com>
* config/arm/arm.h (TARGET_NEON_FP): Removed conditional definition,
define to zero if !TARGET_NEON.
*(TARGET_ARM_FP): Added !TARGET_SOFT_FLOAT into the conditional
definition
gcc/testsuite/ChangeLog:
* gcc.target/arm/macro_defs0.c: New test.
* gcc.target/arm/macro_defs1.c: New test.
* gcc.target/arm/macro_defs2.c: New test.