[PATCH, ARM] Check for 64 FP instructions availability in libm before using them
Corinna Vinschen
vinschen@redhat.com
Wed Dec 9 21:52:00 GMT 2015
On Dec 9 11:00, Thomas Preud'homme wrote:
> 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.
Patch applied.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20151209/aacf0fa9/attachment.sig>
More information about the Newlib
mailing list