From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,6efc7adbcf3cc73 X-Google-Attributes: gid111c93,public From: Toon Moene Subject: Re: Fast Compilers for Linux Date: 1998/05/21 Message-ID: <6k0sb6$moj$1@news.utrecht.NL.net>#1/1 X-Deja-AN: 355182501 References: <6ivl1d$kmh$1@gaia.ns.utk.edu> <6j1ddt$14b$2@news.utrecht.NL.net> <6j29s5$ofp$1@news.utrecht.NL.net> Organization: Moene Computational Physics, Maartensdijk, The Netherlands Newsgroups: comp.os.linux.alpha NOSPAMmbkennelNOSPAM@yahoo.com (Matt Kennel) wrote: > On 9 May 1998 19:13:09 GMT, I wrote: > :I know very well that there are codes where Digital Fortran currently does > :better than g77/egcs, but we're working on eliminating even that gap. > > Will it be eliminated for elementary functions, most importantly sin/cos/exp? > > This is where my performance has been very poor. All FP is not linear > algebra. [ Neither is ours, but on the other hand, we try to avoid transcendentals as the plague - they're expensive on almost any machine ] Because the Alpha's don't have native instructions for sin/cos/exp, all depends on the (glibc) library implementation - the compiler can't really do much here (unless we started to inline "better" code than there is to be found in glibc, but that seems to be putting the horse behind the cart). > SPECfp apparently does not test sin/cos/exp; a very stupid choice in > my opinion, but others vigorously defend it. Self-imposed limitation - they don't want to have benchmark code that spends a significant time in libraries (probably to prevent all sorts of uncontrollable special-case tuning) - see their web page, http://www.spec.org. -- Toon Moene (mailto:toon@moene.indiv.nluug.nl) Saturnushof 14, 3738 XG Maartensdijk, The Netherlands Phone: +31 346 214290; Fax: +31 346 214286 g77 Support: mailto:fortran@gnu.org; NWP: http://www.knmi.nl/hirlam