From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
Subject: Re: Compiler speed for floating point applications.
Date: Fri, 13 Jun 1997 09:35:54 -0600 (MDT) [thread overview]
Message-ID: <199706131535.JAA05645@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <Pine.OSF.3.95.970613151538.20962A-100000@alf.nbi.dk>
>
> Therefore I tried to compile the programs under
> Digital Unix, using their f77 compiler (-O4 -arch ev5), and transfering
> the code to my Linux station. Surprise! - a factor of two in speed
> increase!
>
> Is g77 (and then gcc) really that bad for floating point apps.?
No, not really, but your libraries may be and/or your program is
written in a way which is good enogh for DU compiler f77 optimizations
but g77 is not smart enough. Performance gains from what you did vary
very widely from a program to program.
It is hard to be specific, but before jumping to any conclusions
check an article by David Mosberger-Tang
http://www.linuxexpo.org/1997/after/papers/davidm/paper-html/
on the topic. It is an eye-opener. :-)
There is no doubt that f77 from Digital, and its libraries, are today
better than g77. This gap is not likely to diminish until interested
parties sit down and start writing a code. I am pretty sure that
various library routines used in Fortran programs need work. All this
"free software" is a cooperative effort and is is hard to expect that
"they" will do everything.
Michal
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next prev parent reply other threads:[~1997-06-13 15:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.OSF.3.95.970613151538.20962A-100000@alf.nbi.dk>
1997-06-13 13:28 ` Compiler speed for floating point applications Lev D Gelb
1997-06-13 15:35 ` Michal Jaegermann [this message]
1997-06-13 13:21 Ken Haste Andersen
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox