delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/10/01:34:16

Date: Wed, 10 Jan 1996 08:26:17 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Josh Stevens <jstev AT gladstone DOT uoregon DOT edu>
Cc: djgpp AT delorie DOT com, Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Subject: Re: What's with beta4?! Can you say s-l-o-w? I need help.

On Tue, 9 Jan 1996, Charles Sandmann wrote:

> > Just last night I downloaded beta4, and recompiled my program with it.
> > However, I was forced to switch back to beta3 because beta4 seems to
> > produce unbearably slow code.  
> 
> This is almost certainly a byproduct of not upgrading CWSDPMI at the
> same time.  Get beta 9.  Also check for whatever other zips you missed.

It can also be a real problem with gcc 2.7.1.  To test, you should 
compile and link your program under beta4 with gcc 2.6.3 binaries from 
beta3, then run your program and see if it's slow.  If it is, then just 
upgrading to CWSDPMI beta9 will do.  If it's fast, then this is a genuine 
gcc optimization problem in 2.7.1, and the solution isn't as simple.

You can also test this by running under a DPMI server other than CWSDPMI.

Another possibility is that some library function your program calls
is significantly slower in beta4, but I don't think so, because the 
library didn't change much.

- Raw text -


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