anti-optimization of _DecimalXX by -ffast-math
Andrew Pinski
pinskia@gmail.com
Tue Jan 12 21:02:00 GMT 2010
On Tue, Jan 12, 2010 at 12:59 PM, Roman Kononov <roman@binarylife.net> wrote:
> Is there a good reason to place something on the stack? Why does
> -funsafe-math-optimizations (which is a part of -ffast-math) make things
> even worse? It actually swaps the arguments for __bid_adddd3().
Because it turns on re-association which causes a+b to be b+a in your
case. And nothing turns it back for better register allocation.
Thanks,
Andrew Pinski
More information about the Gcc
mailing list