Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Re: What Does DEC Have Left?
@ 1997-10-29  5:00 Robert Harley
  1997-10-29  5:00 ` Kevin Oberman
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Robert Harley @ 1997-10-29  5:00 UTC (permalink / 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  `-'



^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: What Does DEC Have Left?
@ 1997-10-30  5:00 Robert Harley
  0 siblings, 0 replies; 5+ messages in thread
From: Robert Harley @ 1997-10-30  5:00 UTC (permalink / raw)



Kevin Oberman <oberman@es.net> asks:
>> 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.
>
>Would you please specify WHICH Digital's 'cc' you are referring to? The old,
>crufty pre-V4 default compiler or the new, spiffy GEM compiler that is
>default in V4.0 and was only available with an extra license with
>older versions. ('cc -migrate').

The non-crufty one:

kpriss> ./gemc_cc -V
DEC C T5.7-565 (cc.alt) on Digital UNIX V4.0 (Rev. 564)
kpriss> what ./gemc_cc | egrep GEM
        GEM 3679C

and:

corton> gcc -v
Reading specs from /usr/lib/gcc-lib/alpha-linux/2.7.2.1/specs
gcc version 2.7.2.1
corton> uname -a
Linux corton.inria.fr 2.0.30 #6 Wed May 7 20:12:17 CEST 1997 alpha


-- Rob.
     .-.                     Robert.Harley@inria.fr                    .-.
    /   \           .-.                                 .-.           /   \
   /     \         /   \       .-.     _     .-.       /   \         /     \
  /       \       /     \     /   \   / \   /   \     /     \       /       \
 /         \     /       \   /     `-'   `-'     \   /       \     /         \
            \   /         `-'                     `-'         \   /
             `-'  Linux + 500MHz Alpha + 256MB SDRAM = heaven  `-'



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1997-11-09  5:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-10-29  5:00 What Does DEC Have Left? Robert Harley
1997-10-29  5:00 ` 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

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