From: dontspam_esci@fastlane.net
Subject: Re: Switching from LInux to DU for Fortran
Date: 1998/12/20 [thread overview]
Message-ID: <3D4E0E02941E69B4.CC5A8317D1D65D21.99407DD22F5A5872@library-proxy.airnews.net> (raw)
In-Reply-To: 367BD379.A9B61853@moene.indiv.nluug.nl
Toon Moene <toon@moene.indiv.nluug.nl> wrote:
[snip]
> This is rather exceptional. On the SPECfp95 suite, on an EB164 based
> machine egcs-1.[01] gets about 60 % of the performance of the Digital
> Fortran compiled code.
> A factor of 3 would already be exceptional, but 10-15 times slower means
> something else is wrong (probably not even related to the compiler).
> Is the part of the code where most of the CPU time is spent easily
> identifiable ? In that case it would be possible to reason about the
> strange slow-down.
The code in question has 2 sqrts and 4 other divides in a tight loop
w/ 7 multiplies and 7 adds. There are 5 operands per iteration.
It's not surprising that compilers have trouble w/ it. The amazing
part is how well DEC FORTRAN handles it.
Because of the circumstances under which I was working. I was unable
to properly study the differences in code generation. I made some
attempt to do so, but lost some files moving them between machines
and was not able to recover. Once the DU SDK arrives I will be
able to conduct more thorough tests and will provide more details.
Note this was not production code, but a loop extracted from a
production code, so there really wasn't anything else going on.
While I did a fairly lengthy set of tests of NDP FORTRAN flag
combinations, I did not do this w/ g77. I suspect that there
are better choices (I used -O5 -fast).
I will certainly look into the difference pretty carefully
as soon as time permits. I quite agree that it is rather
extreme.
Reg Beardsley
rhb @ acm.org
next prev parent reply other threads:[~1998-12-20 5:00 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-12-15 5:00 Switching from LInux to DU for Fortran G. Hugh SONG
1998-12-15 5:00 ` James D. Freels
1998-12-15 5:00 ` Eric Christy
1998-12-17 5:00 ` Switching from Linux " G. Hugh SONG
1998-12-17 5:00 ` Mike Iglesias
1998-12-17 5:00 ` Wai-Sun Chia
1998-12-17 5:00 ` Robert Harley
1998-12-17 5:00 ` Andrei A. Dergatchev
1998-12-17 5:00 ` Robert Harley
1998-12-19 5:00 ` Toon Moene
1998-12-16 5:00 ` Switching from LInux " Christian Hasse
1998-12-18 5:00 ` Stephen L. Scott
1998-12-17 5:00 ` Jack W. Crenshaw
1998-12-17 5:00 ` dontspam_esci
1998-12-19 5:00 ` Toon Moene
1998-12-20 5:00 ` dontspam_esci [this message]
1998-12-20 5:00 ` Toon Moene
1998-12-17 5:00 ` kasmjs
1998-12-17 5:00 ` G. Hugh SONG
1998-12-18 5:00 ` rsimpson
1998-12-18 5:00 ` lih-sin the
[not found] <7552ja$gg$2@news.kjist.ac.kr>
[not found] ` <36768633.88E7A7A9@rhea.umd.edu>
1998-12-16 5:00 ` G. Hugh SONG
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