This is the mail archive of the gcc-bugs@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]

[Bug tree-optimization/42286] October 23rd change to tree-ssa-pre.c breaks calculix on powerpc with -ffast-math



------- 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


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