delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/21/02:59:35

Date: Tue, 21 Jan 1997 09:45:44 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Rob Vasquez <digital DOT fx AT worldnet DOT att DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: DJGPP 1 -> DJGPP 2 -> slower program speed?
In-Reply-To: <32E41D68.886@worldnet.att.net>
Message-ID: <Pine.SUN.3.91.970121094439.26269U-100000@is>
MIME-Version: 1.0

On Mon, 20 Jan 1997, Rob Vasquez wrote:

> > Who can help me make my prog faster (as fast as in DJGPP 1)?
> 
> From the djgpp FAQ:
> ------------------------------------------------------------------------In general, GCC 2.7.2 which comes with DJGPP v2.0 generates tighter, 
> faster code.  But it sometimes produces buggy code when "strength 
> reduction" optimizations are enabled.  So DJGPP by default disables this 
> kind of optimization, which might sometimes yield slower code.  If you 
> need extra speed, first debug your program with default optimization 
> options, and then recompile with -fstrength-reduce switch to see if that 
> makes any difference.

The latest FAQ release (faq210b.zip) has expanded and enhanced this 
section, so it includes much more detailed advice now.

- Raw text -


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