GCC beaten by ICC in stupid trig test!
Bradley Lucier
lucier@math.purdue.edu
Wed Mar 24 19:04:00 GMT 2004
Re:
> On Tue, Mar 23, 2004 at 10:32:13PM -0500, Robert Dewar wrote:
> > For example, if -ffast-math is so sloppy as to consider
> > that (a+b)+c can be replaced by a+(b+c), then all bets are off.
>
> That's why -ffast-math doesn't do that; such a transformation would be
> massively brain-damaged.
Well, -ffast-math (or more specifically, -funsafe-math-optimizations)
is about to do this, at least in some cases on tree-ssa, see
http://gcc.gnu.org/ml/gcc-patches/2004-03/msg01891.html
If you think that this transformation shouldn't be done, then I guess
now is the time to speak up.
Brad
More information about the Gcc
mailing list