newlib-cygwin/newlib/libm
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
..
common Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
complex Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
machine Check for 64 FP instructions availability in libm before using them 2015-12-09 10:30:31 +01:00
math doc: Fix some inconsistent QUICKREF lines 2015-11-12 12:42:17 +00:00
mathfp doc: Fix some inconsistent QUICKREF lines 2015-11-12 12:42:17 +00:00
test 2002-12-20 Jeff Johnston <jjohnstn@redhat.com> 2002-12-20 21:07:56 +00:00
Makefile.am 2010-10-18 Marco Atzeri <marco_atzeri@yahoo.it> 2010-10-18 22:40:24 +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
config.h.in import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
configure 2014-12-18 Jeff Johnston <jjohnstn@redhat.com> 2014-12-18 20:30:11 +00:00
configure.in * libc/include/complex.h: New complex header. 2010-10-08 10:35:14 +00:00
libm.texinfo Fix newlib texinfo source so 'info libc' and 'info libm' work 2015-03-16 15:02:22 +00:00