GCC's -ffast-math behavior

Andrew Haley aph@redhat.com
Thu Feb 9 09:21:00 GMT 2012


On 02/09/2012 08:33 AM, xunxun wrote:
>         When using -ffast-math, gcc don't generate the math function 
> symbol: U _exp

No, it doesn't.  Instead gcc uses the F2XM1 instruction.  Why would
you want to call a library when gcc has an instruction to do the
job?

Andrew.




More information about the Gcc-help mailing list