This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Performance loss with gfortran on 64-bit Linux


Andrew,

> This is caused by x86_64's glibc not using the assembly written x87  
> code.  I think
> someone else has reported this before.  It might be a good thing to  
> report
> this to glibc.

We tried to submit 64-bit optimized math routines to GLIBC which are faster and more accurate than x87, yet unsuccessfully (see http://sources.redhat.com/ml/libc-alpha/2006-03/msg00089.html http://sources.redhat.com/ml/libc-alpha/2006-05/msg00078.html).

FWIW, to avoid such situations, I'd much rather go the way that Richard Guenther proposed in the GCC Summit to bring them into libgcc-math.  As we stated at the BOFS on this subject, our routines are portable to other architectures and are wholly owned by AMD, so we'd be free to donate them under any license.

-- 
_______________________________________________________
Evandro Menezes               AMD            Austin, TX




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]