Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jeffrey Demaagd <jdemaa17@calvin.edu>
Subject: Re: Compiling times (Re: UDB performance question)
Date: Wed, 4 Feb 1998 15:13:44 -0500 (EST)	[thread overview]
Message-ID: <eb23a9e20044c9e05bfc0a26af60a3c4.axp-list@archive.invalid> (raw)
In-Reply-To: <34D8A813.DC23D1E4@cogency.co.uk>

> > You are comparing (compiling :-)  apples and oranges.  Compiling a kernel
> > for a 64-bit RISC machine is a totally different animal from making such
> > kernel for a 32-bit CISC.  And optimizer is far from the same.
> 
> Why is compiling kernels for different architectures so different
> from compiling user land programs for different architectures?
> (OK - sure there are different drivers, memory managment code etc. for
> the different architectures - but surely they wouldn't make that
> much difference?)

Um... The internal arrangement of Pentium is far different from that of
Alpha.  Pentium is a RISC processor using hardware to convert any given
CISC instruction into a RISC, from complex to simple.  The hardware does
much optimization on the fly without the program's knowledge, so the
compiler may not have as much to work at.  With RISC, the compiler may
have to deal with register optimization.  Also, because of the installed
base of Pentiums, more people spend time making the compiler more
efficient.  The UDB uses a first generation Alpha, which I believe was
used to prove that the architecture works.  Digital has gone very far with
the next two generations in terms of handling instruction parallelism,
adding more functional units so more instructions can be operated on
simultaneously, and increaseing clock rate spectacularly.

I'll admit I don't have enough info on the first gen. Alpha chips to give
better info, so if anyone knows better than I, please pipe up in this
discussion

 > > 
> > > Other native compilation tests are similarly disappointing.
> > 
> > I would rather worry about a quality of a produced code.  This may
> > use some improvements.
> 
> It depends - if you spend a lot of your time tweaking code and
> recompiling large chunks then the speed of compilation is important.
> If you actually do something 'useful' then it may be very different.

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

       reply	other threads:[~1998-02-04 20:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <34D8A813.DC23D1E4@cogency.co.uk>
1998-02-04 20:13 ` Jeffrey Demaagd [this message]
1998-02-04 17:40 Compiling times (Re: UDB performance question) David Alan Gilbert
     [not found] <34D884C8.9B2859C4@cogency.co.uk>
1998-02-04 16:57 ` Michal Jaegermann
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox