From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 3013 invoked from network); 7 Jun 1998 01:04:58 -0000 Received: from ferret.lmh.ox.ac.uk (qmailr@163.1.138.204) by mail2.redhat.com with SMTP; 7 Jun 1998 01:04:58 -0000 Received: (qmail 20621 invoked by uid 501); 7 Jun 1998 01:03:58 -0000 Date: Sun, 7 Jun 1998 02:03:58 +0100 (BST) From: Chris Evans To: axp-list@redhat.com Subject: Re: Horrifying egcs/g++ performance on 5.1. In-Reply-To: <199806062327.AA23586@tesla.EECS.Berkeley.EDU> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sat, 6 Jun 1998, Peter Mardahl wrote: > Hello, > > > I've just been trying out RedHat 5.1. I've tried egcs 1.0.2 (apparently) > on my numerical simulation program. > > The code egcs 1.0.2 is 2x as slow as egcs 1.0 produced, and it is > 3x slower than g++ 2.8.0 produced. > > What happened to egcs????? Perhaps when you tried egcs, you built it yourself? This will have autodetected your processor type and enabled new opcodes and optimisations for it. egcs as shipped in a distribution has to generate code that works on the lowliest and zoom-feature-less alphas, so might not (with the default flags) generate optimal code for your processor. Cheers Chris