This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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: [PATCH] ARM: Fix IEEE-754 sqrt implementation


On 21/03/17 15:47, Sebastian Huber wrote:
Older GCC (e.g. 4.9.3) seem to define __ARM_FP even in case soft-float
is used.

Just for reference, this bug in GCC was fixed by:

commit dc44066f660f9b7d9de7a71ec37a9634fa6b1752
Author: alalaw01 <alalaw01@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Thu Feb 5 16:58:58 2015 +0000

    [ARM] __ARM_FP & __ARM_NEON_FP defined when -march=armv7-m

    gcc/:

* config/arm/arm.h (TARGET_NEON_FP): Removed conditional definition,
        define to zero if !TARGET_NEON.
        (TARGET_CPU_CPP_BUILTINS): Added second condition before defining
        __ARM_FP macro.

    gcc/testsuite/:

        * gcc.target/arm/macro_defs0.c: New test.
        * gcc.target/arm/macro_defs1.c: New test.
        * gcc.target/arm/macro_defs2.c: New test.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220456 138bc75d-0d04-0410-961f-82ee72b054a4

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.


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