From: "Edmund Horner" Newsgroups: comp.os.msdos.djgpp References: <8smgof$l4f$1 AT nnrp1 DOT deja DOT com> Subject: Re: Performance 2.7.2 -> 2.8.1 Lines: 32 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Organization: Paradise Net Message-ID: <971961901.585069@shelley.paradise.net.nz> Cache-Post-Path: shelley.paradise.net.nz!unknown AT 203-79-65-33 DOT tnt8 DOT paradise DOT net DOT nz X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/) Date: Fri, 20 Oct 2000 02:25:52 +1300 NNTP-Posting-Host: 203.96.152.26 X-Complaints-To: newsadmin AT xtra DOT co DOT nz X-Trace: news.xtra.co.nz 971961902 203.96.152.26 (Fri, 20 Oct 2000 02:25:02 NZDT) NNTP-Posting-Date: Fri, 20 Oct 2000 02:25:02 NZDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com It is unclear whether you mean the compiler is running slowly, or the compiled program is running slowly. Firstly, you talk of "code generation", applying to what the compiler does. Then you mention an optimising option "-mpentium", which applies to programs compiled. Where exactly have you noticed performance degradation? (I do remember reading that the optimisations enabled by -O, etc. have changed between versions, but this should only give the compiler more work to do.) Edmund. wrote in message news:8smgof$l4f$1 AT nnrp1 DOT deja DOT com... > Hi all. Did someone notice a degradation > of performance of code generation with -O2, > from GCC 2.7.2 to 2.8.1 in certain contexts, > on Pentium processors, even though 2.8.1 brought > the "-mpentium" option ? > > Could it be specific to the DOS port or is it a > bad blending of new optimisation techniques ? > Could GCC 2.9.5+ revert that apparent tendency ? > > TIA for enlightenment! > Gautier > > > Sent via Deja.com http://www.deja.com/ > Before you buy.