This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/31723] Use reciprocal and reciprocal square root with -ffast-math
- From: "tbptbp at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jun 2007 03:32:34 -0000
- Subject: [Bug middle-end/31723] Use reciprocal and reciprocal square root with -ffast-math
- References: <bug-31723-11659@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #22 from tbptbp at gmail dot com 2007-06-11 03:32 -------
I'm a bit late to the debate but...
At some point icc did such transformations (for 1/x and sqrt) but, apparently,
they're now removed. It didn't bother to plug every holes (ie wrt infinities)
but at least got the case of 0 covered even when set lose; it's cheap to do.
I've repeatedly been pointed to the peculiar semantic of -ffast-math in the
past, so i know there's little chance for me to succeed, but would it be
possible to consider that as an option?
PS: Yes, i do rely on infinities and -ffast-math and deserve to die a slow and
painful way.
--
tbptbp at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tbptbp at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31723