delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/01/16/14:31:40

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Date: Wed, 16 Jan 2002 21:25:42 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: djgpp AT delorie DOT com
Message-Id: <5567-Wed16Jan2002212542+0200-eliz@is.elta.co.il>
X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9
In-reply-to: <Xns9198D540C7BFCgd678bcz5bAA@192.89.123.233> (message from no
spam on Wed, 16 Jan 2002 18:53:25 GMT)
Subject: Re: GCC 3.03 makes slow code
References: <Xns9198D540C7BFCgd678bcz5bAA AT 192 DOT 89 DOT 123 DOT 233>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Newsgroups: comp.os.msdos.djgpp,gnu.gcc.help
> From: no spam <no AT spam DOT com>
> Date: Wed, 16 Jan 2002 18:53:25 GMT
> 
> I was testing the latest GCC 3.03 (djgpp) and compiled an application
> using switches -O9 -fomit-frame-pointer -mcpu=pentium -fschedule-insns2
> -fexpensive-optimizations the code it generated run 10-20% slower (on 
> Celeron-A CPU) compared to a version compiled with GCC 2.95 (using 
> identical switches).

How does the code fare if you use -O2 instead of -O9?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019