[Bug tree-optimization/42286] October 23rd change to tree-ssa-pre.c breaks calculix on powerpc with -ffast-math
segher at kernel dot crashing dot org
gcc-bugzilla@gcc.gnu.org
Tue Jan 5 16:00:00 GMT 2010
------- Comment #8 from segher at kernel dot crashing dot org 2010-01-05 16:00 -------
(In reply to comment #6)
> IIRC the problem is that using fma causes the -0 argument for fsqrt (which
> behaves 100% correct). Thus a more sensible fix would be to do the 0+ on
> the fma result.
But a -0 result from fsqrt() is no problem /an sich/; problems
only show up when you pass a +/- 0 to a function with a discontinuity
there. Also, doing an extra addition on every fma is hugely expensive.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42286
More information about the Gcc-bugs
mailing list