Re: 4.3.0 strange problem with computation and optimization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Dario Saccavino" <kathoum@xxxxxxxxx> 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

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux