NetBSD-Bugs archive

[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: coypu%sdf.org@localhost
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: toolchain/50940: cc -ffast-math fails to disable denormals on
 amd64
Date: Fri, 1 Dec 2017 14:33:24 +0000

  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
  harmful.
 
 FWIW, we do this behaviour in alpha: crtfm is a hint to the kernel to
 map underflow and denormals to zero in that process.
 


Home | Main Index | Thread Index | Old Index