From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29716 invoked by alias); 24 Apr 2002 08:00:34 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 29645 invoked from network); 24 Apr 2002 07:59:58 -0000 Received: from unknown (HELO atrey.karlin.mff.cuni.cz) (195.113.31.123) by sources.redhat.com with SMTP; 24 Apr 2002 07:59:58 -0000 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 4018) id 62A694FC87; Wed, 24 Apr 2002 09:59:58 +0200 (CEST) Date: Wed, 24 Apr 2002 03:32:00 -0000 From: Jan Hubicka To: Michel LESPINASSE Cc: Jan Hubicka , Richard Henderson , gcc list Subject: Re: GCC performance regression - its memset ! Message-ID: <20020424075958.GH1887@atrey.karlin.mff.cuni.cz> References: <20020421005718.GA16378@zoy.org> <20020422213222.GA21429@zoy.org> <20020422165953.A32536@redhat.com> <20020423001045.GA26276@zoy.org> <20020423092540.GC27274@atrey.karlin.mff.cuni.cz> <20020423203526.GA1851@zoy.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020423203526.GA1851@zoy.org> User-Agent: Mutt/1.3.27i X-SW-Source: 2002-04/txt/msg01228.txt.bz2 > Also as I've been only giving bad news up to now, I wanted to say that > now that I've worked around the two issues I had with inlining and > with memset, the 3.1 snapshot does provide superior performance on my > libmpeg2 codebase, about 5% faster than 2.95.4, and that gets up to 8% > when using -fbranch-probabilities and 9% when using -mcpu=athlon-tbird > instead of the more generic -mcpu=pentiumpro. Nice work guys ! I am Just note that -mcpu=pentiumpro is not generic at all. It optimizes for pentiumpro and (in turn P2/P3), but nothing else. Perhaps we can have switch to generate code working well on the modern CPUs, but we don't Honza > still worried though, that other people will have the same trouble > with inlining as I did and not see all of the performance improvements > as a result. > > Cheers, > > -- > Michel "Walken" LESPINASSE > Is this the best that god can do ? Then I'm not impressed.