From: Toon Moene <toon@moene.indiv.nluug.nl>
Subject: Re: Compaq Fortran for Linux Alpha Systems now available for Beta Test!
Date: 1999/07/02 [thread overview]
Message-ID: <377C8F31.A28B0D6D@moene.indiv.nluug.nl> (raw)
In-Reply-To: 377C8125.5D04CF5E@nat.vu.nl
C.Simmendinger wrote:
>
> Toon Moene wrote:
>
> > Normally, code that runs 3.5 faster with Compaq Fortran as opposed to
> > g77 has some feature in its hot spot that makes it immediately clear
> > where the speed difference comes from.
>
> Well, in my experience the problem with egcs is like this:If you can keep
> the data in the cache, egcs does a pretty good job.
> If not then not.
> Just try a very simple thing, a gemm, complex or not. Run that unoptimized
> (no cache blocking etc) through egcs. The performance then is
> limited by memory bandwidth (as it should). Do the same with
> the GEM (DEC) compiler: It's 3-4 times faster.
Yes, but the DEC compilers I know of only do that sort of loop
transformation at optimisation level -O5 and you used -O4 (at least,
that is what you wrote).
Or do newer DEC compilers already perform this optimisation at lower -On
?
I don't think you will see this optimisation any time soon in egcs/gcc,
because it is very hard to do right at the level of detail the loop
optimisations take place.
> > 1. Complex division, square root and abs are all computed via run-time
> > library routines instead of by inline code. gcc-2.95 will inline
> > complex division.
>
> -O3 should inline that (!?). I also use the cpml.
No, -O3 only inlines subprograms earlier in the same source file, not
run-time library routines (this is due to the way inlining works in
gcc/g77: The backend "saves" the internal representation of small
routines until the end of processing an entire file, to see if there's a
spot where they might be inlined).
HTH,
--
Toon Moene (toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
GNU Fortran: http://world.std.com/~burley/g77.html
next prev parent reply other threads:[~1999-07-02 4:00 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-06-30 4:00 Compaq Fortran for Linux Alpha Systems now available for Beta Test! Steve Lionel
1999-06-30 4:00 ` Greg Lindahl
1999-06-30 4:00 ` Brett Viren
1999-06-30 4:00 ` Michael Kagalenko
1999-06-30 4:00 ` Thor Lancelot Simon
1999-06-30 4:00 ` Michael Kagalenko
1999-06-30 4:00 ` Steve Lionel
1999-07-01 4:00 ` Peter da Silva
1999-07-01 4:00 ` Graham Allan
1999-07-01 4:00 ` Thor Lancelot Simon
1999-06-30 4:00 ` C.Simmendinger
1999-06-30 4:00 ` Toon Moene
1999-06-30 4:00 ` C.Simmendinger
1999-06-30 4:00 ` Steve Lionel
1999-06-30 4:00 ` Michael Kagalenko
1999-07-01 4:00 ` Chris Morgan
1999-07-05 4:00 ` James Prentice
1999-07-05 4:00 ` Paul DeMone
1999-07-01 4:00 ` Toon Moene
1999-07-02 4:00 ` C.Simmendinger
1999-07-02 4:00 ` Toon Moene [this message]
1999-07-02 4:00 ` C.Simmendinger
1999-07-02 4:00 ` Steven Hobbs
1999-07-02 4:00 ` Toon Moene
1999-07-02 4:00 ` Jim Gettys
1999-07-02 4:00 ` Toon Moene
1999-07-01 4:00 ` Stuart Midgley
1999-07-02 4:00 ` mustang
1999-07-05 4:00 ` Stefan A. Deutscher
1999-07-05 4:00 ` Hartmann Schaffer
1999-07-05 4:00 ` Greg Lindahl
1999-07-06 4:00 ` Steve Lionel
1999-07-07 4:00 ` Edward Lee
1999-07-07 4:00 ` Gary
1999-07-07 4:00 ` Richard Maine
1999-07-07 4:00 ` Gary Scott
1999-07-09 4:00 ` Gary Scott
1999-07-09 4:00 ` Stefan A. Deutscher
1999-07-09 4:00 ` Greg Lindahl
1999-07-09 4:00 ` Emil Briggs
1999-07-10 4:00 ` Gary Scott
1999-07-08 4:00 ` Christopher Browne
1999-07-07 4:00 ` Falk Hueffner
1999-07-08 4:00 ` Edward Lee
1999-07-05 4:00 ` Larry Kilgallen
1999-07-11 4:00 ` Christian Hasse
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