This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch 9/N][PA] convert to fma
On Sun, Nov 14, 2010 at 7:34 AM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
>>
>> That is true. GCC doesn't even preserve kinds (Q vs S) of NaNs on
>> x86 with SSE FP math.
>
> Non-preservation of the kind of NaN (if it should otherwise be preserved
> for IEEE semantics) should be conditioned on HONOR_SNANS (mode). ?(The
> documentation of -fsignaling-nans does warn that not everything that
> should be conditioned on it necessarily is.)
But -fsignaling-nans doesn't address
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45365
since GCC treat FP add and multiply commutative even when both
operands are NaNs.
--
H.J.