From: Toon Moene <toon@moene.indiv.nluug.nl>
Subject: Re: ev4sched---here it is
Date: Thu, 2 May 96 22:23:32 +0200 [thread overview]
Message-ID: <9605022023.AA10646@moene.indiv.nluug.nl> (raw)
Harald Koenig wrote:
> the following example shows that even these 20% are by
> far not enough: here are cpu times for this fortran
> program (~20k lines) using f2c to convert it to C (~40k
> lines) and then using either gcc-2.7.1 or the DEC cc from
> DEC UNIX 3.2 or similar (I have to check this again).
> both (static) binaries are then run on my XL266 on Linux.
> gcc -O3 1556.99 secs
> cc -O3 824.56 secs
> this almost a factor of TWO:-(
Could you elaborate on the sort of Fortran code at hand here ?
There are known shortcomings in the gcc loop optimisation routines
for "Fortran type code" (whether compiled with f2c + gcc or g77)
that might be obstructing performance here. If your example does a
lot of (relatively simple floating point - add, subtract, multiply,
divide) arithmetic in nested do loops, it might help to try out the
optimisations g77-0.5.18 offers [ the optimisations can also be
applied to f2c + gcc compilations ].
Toon.
next reply other threads:[~1996-05-02 20:23 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-05-02 20:23 Toon Moene [this message]
[not found] <Pine.LNX.3.91.960502111441.7441C-100000@elroy.redhat.com>
1996-05-02 16:21 ` ev4sched---here it is Harald Koenig
1996-05-02 17:16 ` Jim Paradis
-- strict thread matches above, loose matches on Subject: below --
1996-05-02 17:10 David Mosberger-Tang
1996-05-02 16:28 David Mosberger-Tang
[not found] <ML-2.2.831027762.3978.torvalds@linux.cs.helsinki.fi>
1996-05-02 15:54 ` Harald Koenig
1996-05-02 16:31 ` Richard Henderson
1996-05-02 15:32 David Mosberger-Tang
1996-04-24 18:31 Stephen J. Gaudet
1996-04-24 15:15 David Mosberger-Tang
1996-04-30 6:19 ` Harald Koenig
1996-04-30 7:59 ` Richard Henderson
1996-05-02 8:43 ` Harald Koenig
1996-05-02 9:02 ` Linus Torvalds
1996-05-02 15:16 ` Erik Troan
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