Mail Archives: djgpp/2000/03/07/17:48:55
On 6 Mar 2000, Dieter Buerssner wrote:
> You will note, that there sometimes is almost an order of
> magnitude difference between the performance of mwc32 and
> mwc32c. The only difference between these functions is
> the type of the variable mul (static unsigned long vs.
> static const unsigned long). mwc32c is always slower,
> when there is a significant performance difference.
Did you look at the generated assembly? That could provide important
clues.
> (null): s=3051870873, used 3.077 CPU seconds 0.02292 usec/call
> (null): s=3051870873, used 25.934 CPU seconds 0.19322 usec/call
> ^^^^^^
Doesn't this bomb on plain DOS with CWSDPMI?
Anyway, this is a clear bug which should be reported to gnu.gcc.bug.
- Raw text -