Mail Archives: pgcc/1998/01/27/20:33:26
On Tue, Jan 27, 1998 at 11:48:28AM +0100, Falk Hueffner wrote:
> hi,
>
> is there any point to use pgcc instead ofegcs on architectures other
> than ix86, e. g. hppa? Are there any optimizations that will benefit
> for all architectures?
yes, many of them.. but not many people have checked this out. I have
reports that pgcc sometimes speeds up calculations on alphas (compared
to egcs), but I still have to investigate further.
The first problem is to actually _build_ pgcc, and some bugs already have
been catched.
Then there might be problems with compiling programs using pgcc, since some
of the optimizations might make assumptions about the rtl code (which is
architecture dependent).
if all this works (please try it out!), then we have to look after
_which_ optimizations are beneficial and which are not (say,
because they are too pentium-centric).
On non-x86 architectures, all pgcc-specific optimizations (that can be
turned off) are turned off by default, with any optimization level, so they
have to be enabled by hand (using -fxxx switches, see the faq).
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg AT goof DOT com |e|
-=====/_/_//_/\_,_/ /_/\_\ --+
The choice of a GNU generation |
|
- Raw text -