From: Greg Lindahl <lindahl@cs.virginia.edu>
To: axp-list@redhat.com
Subject: Re: gcc speed
Date: Fri, 5 Mar 1999 09:27:13 -0500 (EST) [thread overview]
Message-ID: <199903051427.JAA20948@adder.cs.Virginia.EDU> (raw)
In-Reply-To: <99030515155000.23662@bacchus.pc1.uni-duesseldorf.de> from "Jochen Kuepper" at Mar 5, 99 09:18:00 am
> >Note that he is talking about inline assembly, not actual C code.
>
> So why is there a difference in the code generated from the assembly between
> gcc-2.8.1 and egcs-1.1.x ?
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.
For C or Fortran code on the Alpha, egcs probably always produces
faster code.
-- g
next prev parent reply other threads:[~1999-03-05 14:31 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 [this message]
1999-03-05 15:45 ` Christopher C Chimelis
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