------- Comment #8 from jvdelisle at gcc dot gnu dot org 2008-03-29 05:27 ------- Browsing through the glibc sources I see two kinds of implementations for the sinf function, FPU and software.
The FPU versions appear to be succinct assembly code with the expected FPU instructions. The software versions appear to be fairly elaborate and written in C using taylor series expansions. I wonder if the time difference being seen is that the slow sinf function is a software implementation rather than FPU. The problem does not occur with cos. I speculate that this is a configuration related problem. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34128