Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: billm@cygnus.com (Bill Moyer)
Subject: Re: What Does DEC Have Left?
Date: 1997/11/01	[thread overview]
Message-ID: <63gbnr$juc$1@andros.cygnus.com> (raw)
In-Reply-To: 636v77$7ef@news-rocq.inria.fr


In article <636v77$7ef@news-rocq.inria.fr> harley@pauillac.inria.fr (Robert Harley) writes:
>
>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???  =:-)

  This is all correct.  However, egcs (the Experimental GNU Compiler
System -- see http://www.cygnus.com/egcs) uses haifa for instruction
scheduling.  The egcs compiler will be released for alpha-linux and
alpha-osf RSN .. there're still some bugs to whittle away.

  If you want to contribute, you can get the pre-release egcs package
from the aforementioned URL.

  -- ttk     #include <std-disclaimer.h>: Not speaking for Cygnus.  

-- 




  parent reply	other threads:[~1997-11-01  5:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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