From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22547 invoked by alias); 17 Nov 2007 22:42:14 -0000 Received: (qmail 22528 invoked by uid 48); 17 Nov 2007 22:42:06 -0000 Date: Sat, 17 Nov 2007 22:42:00 -0000 Message-ID: <20071117224206.22527.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/34128] slow gfortran 4.x (library?) compared to g77 3.4 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "fxcoudert at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-11/txt/msg01656.txt.bz2 ------- 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