newlib-cygwin/newlib/libm/machine
Thomas Preud'homme 5b9873fa72 Check for 64 FP instructions availability in libm before using them
Currently, double precision math functions in newlib/libm/machine/arm detect whether neon instructions can be used for double precision computation by checking the architecture version (>= 8) and the availability of floating-point instructions. However, these instructions would not be available if targeting fpv5-sp-d16 as the FPU, which by definition does not have 64bit float instructions. This patch adds a check that __ARM_FP advertises 64bit float instructions.

        * libm/machine/arm/s_ceil.c: Also check that 64bit FP instructions are
        available in the guard.
        * libm/machine/arm/s_floor.c: Likewise.
        * libm/machine/arm/s_nearbyint.c: Likewise.
        * libm/machine/arm/s_rint.c: Likewise.
        * libm/machine/arm/s_round.c: Likewise.
        * libm/machine/arm/s_trunc.c: Likewise.
2015-12-09 10:30:31 +01:00
..
aarch64 Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
arm Check for 64 FP instructions availability in libm before using them 2015-12-09 10:30:31 +01:00
i386 Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
nds32 Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
spu Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
Makefile.am * ltmain.sh: Update from GCC. 2007-05-24 17:33:42 +00:00
Makefile.in 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
aclocal.m4 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
configure 2014-12-18 Jeff Johnston <jjohnstn@redhat.com> 2014-12-18 20:30:11 +00:00
configure.in * configure.host: Add libm nds32 machine directory. 2014-12-15 13:27:38 +00:00