delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/15/12:37:05

Message-ID: <19990815170554.A17468@tabor.ta.jcu.cz>
Date: Sun, 15 Aug 1999 17:05:54 +0200
From: Jan Hubicka <hubicka AT tabor DOT ta DOT jcu DOT cz>
To: djgpp AT delorie DOT com
Subject: Re: New gcc 2.95
References: <7oqfvr$qpu$1 AT reader1 DOT wxs DOT nl> <Pine DOT SUN DOT 3 DOT 91 DOT 990812105820 DOT 9373R-100000 AT is>
Mime-Version: 1.0
X-Mailer: Mutt 0.93i
In-Reply-To: <Pine.SUN.3.91.990812105820.9373R-100000@is>; from Eli Zaretskii on Thu, Aug 12, 1999 at 10:58:39AM +0300
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, Aug 12, 1999 at 10:58:39AM +0300, Eli Zaretskii wrote:
> 
> On Wed, 11 Aug 1999, "Bas Hamstra" <bas.hamstra wrote:
> 
> > I donwloaded some components of GCC 2.95 (binaries of gcc, gxx and the libs,
> > I believe) and copied them onto the old djgpp package (latest official
> > version). It works, but now my programs run slower, regardless of the
> > optimation options.
There are many changes in 2.95, so it is possible that you have just bad luck
and some of new features hurts your program. At the average 2.95 is a win
(pretty noticeable).

I would recommend you to try -mpreferred-stack-boundary=2 option. It turns off
stack alignment code and makes executable smaller, function calling faster
and may reduce performance of fp code, if some of the temporaries spilled to
stack in internal loop gets missaligned.

Honza

- Raw text -


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