From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 20763 invoked from network); 5 Mar 1999 15:50:27 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 5 Mar 1999 15:50:27 -0000 Received: from beezer.med.miami.edu (root@beezer.med.miami.edu [129.171.143.105]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id KAA15052 for ; Fri, 5 Mar 1999 10:45:53 -0500 Received: from beezer.med.miami.edu (chris@beezer.med.miami.edu [129.171.143.105]) by beezer.med.miami.edu (8.8.8/8.8.8/Debian/GNU) with SMTP id KAA01545 for ; Fri, 5 Mar 1999 10:45:52 -0500 Date: Fri, 5 Mar 1999 10:45:51 -0500 (EST) From: Christopher C Chimelis X-Sender: chris@beezer.med.miami.edu To: axp-list@redhat.com Subject: Re: gcc speed In-Reply-To: <199903051427.JAA20948@adder.cs.Virginia.EDU> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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