From: Christopher C Chimelis <chris@beezer.med.miami.edu>
To: axp-list@redhat.com
Subject: Re: gcc speed
Date: Fri, 5 Mar 1999 10:45:51 -0500 (EST) [thread overview]
Message-ID: <Pine.LNX.3.96.990305104301.1282A-100000@beezer.med.miami.edu> (raw)
In-Reply-To: <199903051427.JAA20948@adder.cs.Virginia.EDU>
On Fri, 5 Mar 1999, Greg Lindahl wrote:
> When you use assembly with gcc, it runs it through the optimizer. In
> some cases this makes the code better; if the code is great to start
> with, it often makes it worse. The complaint about egcs is that you
> can't turn off the optimizer.
Have you tried an egcs without the Haifa optimiser enabled? This is most
likely the optimisation that is causing you the degraded performance. For
C, F77, and C++, it tends to do well (although I have seen exceptions).
Try recompiling egcs with the --disable-haifa switch passed to configure
and try recomparing. Unfortunately, too little progress has been made on
gcc 2.8.x for Alphas of late for me to switch.
> For C or Fortran code on the Alpha, egcs probably always produces
> faster code.
I would say "almost always". There have been exceptions in the past,
although I haven't run tests in awhile.
C
next prev parent reply other threads:[~1999-03-05 15:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-05 12:57 gcc speed Jochen Kuepper
1999-03-05 13:09 ` Greg Lindahl
1999-03-05 14:20 ` Jochen Kuepper
1999-03-05 14:27 ` Greg Lindahl
1999-03-05 15:45 ` Christopher C Chimelis [this message]
1999-03-05 15:51 ` Jochen Kuepper
1999-03-05 13:24 ` Martin Kahlert
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