This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34128] slow gfortran 4.x (library?) compared to g77 3.4
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Nov 2007 22:42:06 -0000
- Subject: [Bug fortran/34128] slow gfortran 4.x (library?) compared to g77 3.4
- References: <bug-34128-15355@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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