------- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-11-17 22:42 ------- It's 64-bit only, and it appears to be a glibc bug: with glibc on x86_64, sinf((float) integer_variable) is slower than (float)sin((double) integer_variable). Paul Brook looked into it a bit, and said that while glibc's sin() was clearly well optimized, its sinf() was poor.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34128