This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [R220456][4.9] Backport the patch which fixes __ARM_FP & __ARM_NEON_FP predefines


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]