public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* egcs 1.0.1 and fortran optimization
@ 1998-01-19  2:45 Vladimir Eltsov
  1998-01-20  9:08 ` Jeffrey A Law
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Vladimir Eltsov @ 1998-01-19  2:45 UTC (permalink / raw)
  To: egcs

Hello,

I successfully built and installed egcs-1.0.1 on Linux RedHat-5.0 system
in the fully standard config. Then I compiled my simulation programs: one
in fortran, other in c++ and compared execution times to variants compiled
with g++/g77 2.7.2.3.f.1. Compilation options were '-O3 -m486
-fomit-frame-pointer -ffast-math' for gcc and '-O9 -mpentiumpro
-fomit-frame-pointer -ffast-math' for egcc in both cases (I have
PentiumII). egcs compiler produces correct code, as for execution time I
obtained: C++ program run 42% faster when compiled with egcs (GREAT!
thanks!), but fortran program run 20% _slower_. 

Am I missing some compilation option(s) for egcs g77 compiler or is it
a known problem? (I remember that when I tried one of the first pg77
snapshots situation was the same with several different fortran programs).

Vladimir Eltsov
ve@boojum.hut.fi

PS: I am not on the list, so please CC replies to me.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1998-01-22  1:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-01-19  2:45 egcs 1.0.1 and fortran optimization Vladimir Eltsov
1998-01-20  9:08 ` Jeffrey A Law
1998-01-20 14:54 ` Toon Moene
1998-01-21  9:54   ` Vladimir Eltsov
1998-01-20 14:54 ` Dave Love
1998-01-22  1:45   ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).