www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/01/16/16:17:29

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "Daniel Lidström" <danli97 AT NOSPAMite DOT mh DOT se>
Newsgroups: comp.os.msdos.djgpp,gnu.gcc.help
Subject: Re: GCC 3.03 makes slow code
Date: Wed, 16 Jan 2002 22:04:28 +0100
Organization: Solace Computer Society
Lines: 13
Message-ID: <a24q3g$ft9$1@news.solace.mh.se>
References: <Xns9198D540C7BFCgd678bcz5bAA AT 192 DOT 89 DOT 123 DOT 233>
NNTP-Posting-Host: stubo-5-134.student.mh.se
X-Trace: news.solace.mh.se 1011215280 16297 10.252.5.134 (16 Jan 2002 21:08:00 GMT)
X-Complaints-To: usenet AT news DOT solace DOT mh DOT se
NNTP-Posting-Date: Wed, 16 Jan 2002 21:08:00 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"no spam" <no AT spam DOT com> wrote...
> 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).

Are you sure there is a optimization switch -O9? When I read the man pages
of gcc 2.95.3-5 (cygwin) the -O option only goes to -O3.

/Daniel


- Raw text -


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