From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 9762 invoked from network); 5 Mar 1999 14:20:37 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 5 Mar 1999 14:20:37 -0000 Received: from bacchus.pc1.uni-duesseldorf.de (root@bacchus.pc1.uni-duesseldorf.de [134.99.152.11]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id JAA10860 for ; Fri, 5 Mar 1999 09:16:03 -0500 Received: from bacchus.pc1.uni-duesseldorf.de (jochen@localhost [127.0.0.1]) by bacchus.pc1.uni-duesseldorf.de (8.8.7/8.8.7) with SMTP id PAA23741 for ; Fri, 5 Mar 1999 15:15:50 +0100 From: Jochen Kuepper Organization: Heinrich-Heine-Universitaet To: axp-list@redhat.com Subject: Re: gcc speed Date: Mon, 11 Apr 2135 21:43:16 +0100 X-Mailer: KMail [version 1.0.17] Content-Type: text/plain References: <199903051309.IAA19612@adder.cs.Virginia.EDU> MIME-Version: 1.0 Message-Id: <99030515155000.23662@bacchus.pc1.uni-duesseldorf.de> Content-Transfer-Encoding: quoted-printable On Fre, 05 M=E4r 1999 Greg Lindahl wrote: >> Dec ALPHA compilers >>=20 >> If you are using a DEC Alpha, it is extremely important to use gnu g= cc, >> rather than egcs gcc. On my 533Mhz Dec ALPHA, using egcs 1.1.1 and g= nu gcc >> 2.8.1, gcc provides roughly 590 Mflop DGEMM, whereas egcs results in= 520 or >> so. User's of DEC unix should be aware that cc should not be used to= compile >> the generated code. The compiler does not allow the turning off of >> optimizations that cause optimal code to run slower, so you should c= ompile >> these routines with gcc.=20 >> [snip] > >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 betw= een gcc-2.8.1 and egcs-1.1.x ? Greetings, Jochen ----------------------------------------------------------------------- Jochen K=FCpper Heinrich-Heine-Universit=E4t D=FCsseldorf jochen@uni-duesseldorf.de Institut f=FCr Physikalische Chemie I Universit=E4tsstr. 1, Geb 26.43 Raum 02.29 phone ++49-211-8113681 40225 D=FCsseldorf fax ++49-211-8115195 Germany http://www-public.rz.uni-duesseldorf.de/~jochen -----------------------------------------------------------------------