From: harley@pauillac.inria.fr (Robert Harley)
Subject: Re: What Does DEC Have Left?
Date: 1997/10/29 [thread overview]
Message-ID: <636v77$7ef@news-rocq.inria.fr> (raw)
Larry Kilgallen (kilgallen@eisner.decus.org) wrote:
>Glenn Everhart <everhart@gce.com.gov> writes:
>
>> Once GCC gets properly optimized for Alpha, I'd bet that DEC Unix
>> starts getting cannibalized big time by Linux (and freeBSD and...).
>
>Optimizing GCC for Alpha would seem a lot easier than Optimizing GC
>for Merced, based on reports about the instruction set from the recent
>conference.
I agree.
Gcc for Alpha is just fine on integer code but often shows a 30%ish
drop in performance compared to Digital's 'cc' on floating point code.
Sometimes more, sometimes less.
The reason, as far as I can tell, is not a problem with 'gcc' itself
but the lack of an 'as' that does proper scheduling. This matters on
21164 because it's in-order with static slotting logic etc.
It's worst on code with long latencies and little local parallelism
i.e., f.p code written for register-starved machines and "ported" to
Alpha with little or no adaptation.
Likewise with big-integer arithmetic: gcc "knows about" the 'mulq'
instruction and its long latency so pushes it back from where its
result is consumed, but doesn't know about 'umulh' so you put it in
with 'asm(...)' and it doesn't get moved back. For max speed you have
to move it back by hand and use 'asm volatile(...)'.
Since similar considerations will apply only more so on Merced, gcc
for Merced will probably suck big-time. However since the 21264 Alpha
will take care of everything in hardware at run-time, current Alpha
code will surely run on it like a bat out of hell!
PS: Digital, in the mean time, why not donate source for D.U. 'as' to the
Linux community??? =:-)
.-. Robert.Harley@inria.fr .-.
/ \ .-. .-. / \
/ \ / \ .-. _ .-. / \ / \
/ \ / \ / \ / \ / \ / \ / \
/ \ / \ / `-' `-' \ / \ / \
\ / `-' `-' \ /
`-' Linux + 500MHz Alpha + 256MB SDRAM = heaven `-'
next reply other threads:[~1997-10-29 5:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-10-29 5:00 Robert Harley [this message]
1997-10-29 5:00 ` What Does DEC Have Left? Kevin Oberman
1997-11-01 5:00 ` Bill Moyer
1997-11-09 5:00 ` John McNulty
-- strict thread matches above, loose matches on Subject: below --
1997-10-30 5:00 Robert Harley
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