4.3.0 strange problem with computation and optimization

Ian Lance Taylor iant@google.com
Fri Mar 14 15:12:00 GMT 2008


"Dario Saccavino" <kathoum@gmail.com> writes:

> Anybody knows if using -msse2 -mfpmath=sse can help obtain a better
> conformant assembly? The sse regs should have the correct precision
> (32 for float, 64 for double), so maybe part of the undesired
> behaviour can be avoided.

Yes, using those options makes your floating point operations
generally immune to gcc's register allocation decisions.

That is the default in 64-bit mode.

Ian



More information about the Gcc-help mailing list