[Bug rtl-optimization/323] optimized code gives strange floating point results

bonzini at gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Apr 2 15:20:00 GMT 2007



------- Comment #94 from bonzini at gnu dot org  2007-04-02 16:20 -------
I think that Uros' patch to add a -mpc switch for precision control would "fix"
this.

The real fix would be to automatically insert fldcw instructions before
float/double operations, in order to limit the precision of the operations. 
But I think that it would kill speed even more than -ffloat-store.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=323



More information about the Gcc-bugs mailing list