notzed,
Thanks for bringing this up!
The different modes can be seen here an
http://gcc.gnu.org/onlinedocs/gcc-4.8.1 ... ny-OptionsHere are some thoughts/history on the subject for everyone:
-We don't have a native integer multiply instruction in the integer ALU and instead reuse the FPU datapath
-The integer arithmetic mode in the CONFIG converts the FPU to a secondary integer unit capable of IMUL, IMADD, etc
To get more efficient code, you can use the -mfp-mode. The default is the more robust "caller" mode.
-mfp-mode=int
-mfp-mode=round-nearest
If this is still not good enough let us know...I am sure there is a way to fix it.