Subject: Re: Compiler timings on varous MVII NetBSDs etc.
To: None <,,>
From: Matt Thomas <>
List: port-vax
Date: 01/23/2001 10:48:18
At 01:32 PM 1/23/2001 -0500, Thor Lancelot Simon wrote:
>pcc is a *terrible* compiler.  If we shipped pcc instead of gcc (not that
>we can, due to licensing; SCO owns the code) you'd be complaining about
>how slowly everything *else* on your system ran, instead of how slowly
>the compiler ran.  Your system may be slow now, but if you rebuilt the
>world with pcc, it would be a LOT WORSE.

pcc does sucks pond water.  Compilation time should not be what we are
comparing, but execution time.

>Gcc is not a very good compiler.  On the other hand, it's by far the best
>compiler available for the VAX.  It could probably be tweaked to be better,
>but I don't know how _much_ better.

I can answer that.  I've been working on GCC's code generation for VAX as
part of the ELF work.  I've been reducing the number of instruction by
about 4-8% and the code size by the same.  I've been adding optimizations
and peepholes to speedup and reduce code size.  In -current, I've tweaked
vax/include/macros.h to make many of the inlines more efficient.

Matt Thomas               Internet:
3am Software Foundry      WWW URL:
Cupertino, CA             Disclaimer: I avow all knowledge of this message