Mail Archives: djgpp/1999/08/15/12:37:05
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 -