This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC beaten by ICC in stupid trig test!


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]