From: Jochen Kuepper <jochen@uni-duesseldorf.de>
To: axp-list@redhat.com, Greg Lindahl <lindahl@cs.virginia.edu>
Subject: Re: gcc speed
Date: Fri, 5 Mar 1999 16:51:43 +0100 [thread overview]
Message-ID: <99030516560401.23853@bacchus.pc1.uni-duesseldorf.de> (raw)
In-Reply-To: 199903051427.JAA20948@adder.cs.Virginia.EDU
On Fre, 05 Mär 1999 Greg Lindahl wrote:
>> >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.
Well, probably I should ask this the egcs people, but still:
What does gcc -O0 do ? Still going through the optimizer ?
Moreover as I understood the missing feature to turn off optimization was meant
for DU cc ?
Btw: I am happy with egcs (+libffm, testing libcpml right now) for my mixed
C++/FORTRAN project, there are several pros so I wouldn't even think about
switching to gcc-2.8 or any other suite, still I am wondering why gcc-2.8
should be so much faster (590 vs 520) ?
Greetings,
Jochen
-----------------------------------------------------------------------
Jochen Küpper
Heinrich-Heine-Universität Düsseldorf jochen@uni-duesseldorf.de
Institut für Physikalische Chemie I
Universitätsstr. 1, Geb 26.43 Raum 02.29 phone ++49-211-8113681
40225 Düsseldorf fax ++49-211-8115195
Germany http://www-public.rz.uni-duesseldorf.de/~jochen
-----------------------------------------------------------------------
next prev parent reply other threads:[~1999-03-05 16:00 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
1999-03-05 15:51 ` Jochen Kuepper [this message]
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