From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 27135 invoked from network); 5 Mar 1999 14:31:53 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 5 Mar 1999 14:31:53 -0000 Received: from ares.cs.Virginia.EDU (mail.cs.Virginia.EDU [128.143.137.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id JAA11350 for ; Fri, 5 Mar 1999 09:27:18 -0500 Received: from adder.cs.Virginia.EDU (adder.cs.Virginia.EDU [128.143.137.18]) by ares.cs.Virginia.EDU (8.9.2/8.9.2/UVACS-1999030200) with ESMTP id JAA21410 for ; Fri, 5 Mar 1999 09:27:14 -0500 (EST) From: Greg Lindahl Received: (from lindahl@localhost) by adder.cs.Virginia.EDU (8.8.5/8.8.5) id JAA20948 for axp-list@redhat.com; Fri, 5 Mar 1999 09:27:13 -0500 (EST) Message-Id: <199903051427.JAA20948@adder.cs.Virginia.EDU> Subject: Re: gcc speed To: axp-list@redhat.com Date: Fri, 5 Mar 1999 09:27:13 -0500 (EST) In-Reply-To: <99030515155000.23662@bacchus.pc1.uni-duesseldorf.de> from "Jochen Kuepper" at Mar 5, 99 09:18:00 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > >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