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" 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: (message from no spam on Wed, 16 Jan 2002 18:53:25 GMT) Subject: Re: GCC 3.03 makes slow code References: 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 Precedence: bulk > Newsgroups: comp.os.msdos.djgpp,gnu.gcc.help > From: no spam > 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?