This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [PATCH] AArch64 compile dbl-64/e_sqrt.c with -ffp-contract=off
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Marcus Shawcroft <marcus dot shawcroft at linaro dot org>
- Cc: libc-ports <libc-ports at sourceware dot org>
- Date: Tue, 17 Dec 2013 14:20:49 +0000
- Subject: Re: [PATCH] AArch64 compile dbl-64/e_sqrt.c with -ffp-contract=off
- Authentication-results: sourceware.org; auth=none
- References: <CABXK9nccf63UL5G3SJCc+C6oQCWu_iDhG2h8jNa_gM-s5ENCqA at mail dot gmail dot com>
On Tue, 17 Dec 2013, Marcus Shawcroft wrote:
> This patch fixes the numerical errors in aarch64 sqrt() due to the
> compilers use of fnmsub (negated fused multiply-subtract).
>
> Previous thread:
> https://sourceware.org/ml/libc-alpha/2013-12/msg00473.html
>
> I'll leave this on the list for 24 hours before committing to give
> folks the opportunity to comment on the (in)appropriateness of my
> solution...
The source file in question is architecture-independent, so the makefile
change should also be architecture-independent (i.e. in
sysdeps/ieee754/dbl-64/Makefile).
--
Joseph S. Myers
joseph@codesourcery.com