Callum Lerwick seg at
Thu Apr 27 17:43:24 UTC 2006

On Thu, 2006-04-27 at 18:42 +0200, Rudi Chiarito wrote:
> More in general, though, isn't a call to sin() and cos() expensive and
> shouldn't the compiler just use inline native FP code? In the case of
> FFTW those two are only used in the setup stages, with the actual FFTs
> implemented with multiplications and additions (gcc uses SSE as
> expected on x86_64), but not all code is going to be like that. Are
> there reasons for them not to be inlined?

Isn't this what --ffast-math does?

Some gritty details seem to be here:

gcc is far smarter than many seem to realize. Sometimes far too smart...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : 

More information about the devel mailing list