[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: toolchain/50940: cc -ffast-math fails to disable denormals on amd64
The following reply was made to PR toolchain/50940; it has been noted by GNATS.
From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
Cc: toolchain-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost, Andreas Gustafsson <gson%gson.org@localhost>
Subject: Re: toolchain/50940: cc -ffast-math fails to disable denormals on
Date: Sat, 12 Mar 2016 01:13:16 +0100
On Fri, Mar 11, 2016 at 04:10:00PM +0000, Andreas Gustafsson wrote:
> > Whether the CPU generates them or not is a secondary question -- at
> > that point you are already in Undefined Behavior land for this
> > mode.
> Do you at least agree that the current NetBSD behavior is incorrect?
No. Just because some parts of the code is compiled with -ffast-math, it
doesn't mean that other parts should get incorrect behavior. That
includes strtod and other parts of the run time library. As such,
changing the FP state automatically on program execution is much more
Main Index |
Thread Index |