newlib-cygwin/newlib/libm/machine/arm
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
..
Makefile.am 2012-12-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> 2012-12-04 21:43:21 +00:00
Makefile.in Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05: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 2012-12-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> 2012-12-04 21:43:21 +00:00
s_ceil.c Check for 64 FP instructions availability in libm before using them 2015-12-09 10:30:31 +01:00
s_floor.c Check for 64 FP instructions availability in libm before using them 2015-12-09 10:30:31 +01:00
s_nearbyint.c Check for 64 FP instructions availability in libm before using them 2015-12-09 10:30:31 +01:00
s_rint.c Check for 64 FP instructions availability in libm before using them 2015-12-09 10:30:31 +01:00
s_round.c Check for 64 FP instructions availability in libm before using them 2015-12-09 10:30:31 +01:00
s_trunc.c Check for 64 FP instructions availability in libm before using them 2015-12-09 10:30:31 +01:00
sf_ceil.c 2012-12-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> 2012-12-04 21:43:21 +00:00
sf_floor.c 2012-12-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> 2012-12-04 21:43:21 +00:00
sf_nearbyint.c 2012-12-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> 2012-12-04 21:43:21 +00:00
sf_rint.c 2012-12-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> 2012-12-04 21:43:21 +00:00
sf_round.c 2012-12-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> 2012-12-04 21:43:21 +00:00
sf_trunc.c 2012-12-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> 2012-12-04 21:43:21 +00:00