Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: campbejr@phu989 (John R Campbell)
Subject: Re: P6 vs Alpha (was Re: Pro vs. Mips/Alpha)
Date: 1996/07/19	[thread overview]
Message-ID: <4sodn9$cjt@phunn1.sbphrd.com> (raw)
In-Reply-To: 31EFA203.356B@swcp.com


H.W. Stockman (hwstock@swcp.com) wrote:
: Torben AEgidius Mogensen wrote:
: I suspect you are right, but out of curiosity, have you ever tried
: assembly language programming on a RISC system?  Now that assemblers
: are smarter, and the CPU's have sequencing hardware, the problems
: with load slots are not as severe.  But my one experience with asm
: on an R4000 was a bit sobering; the assembler reshuffled my instructions,
: often with bizarre results.

Apparently you were using an odd assembler.  Surely the documentation
for that assembler (assmebler?) had a chapter (or more) on side defects.

:                              The OS writers clearly didn't want to give 
: control to asm users.  I don't think RISC systems are as friendly about
: writing asm (except perhaps under Linux...).

A lot depends.  I remember hearing about a fellow who did 256

	jmp	$+1

on the Xerox Sigma-9 and took down the O/S (CP-V) because the instruction
pipeline refills took a lot of extra memory cycles. (And that was a CISC
mainframe.)

I, myself, worked with an array processor 15-16 years ago, the Sperry-
UNIVAC (DataWest) Array Processing System.  We didn't have "intelligent"
assemblers for it, we used the 1100's MASM (Meta-Assembler) to generate
code for it.  It had 4 slices, so it was bizarre to work with.

You also had to consider instruction overlap and the fact that the 
floating point ALUs took 4 cycles between providing operands and getting
results from the other end (they were pipelined, too).  When you did
the microcode, a pad of graph paper came in handy to double-check the
gating of results, especially moving between the integer and floating
point halves of the beast.

Writing microcode for *any* system is a rather demanding task, and I'd
rather trust myself to consider the timing issues than to trust the
assembler to know what I mean when I code a specific set of lines.
The assumption *must* be made that the microcoder has some vague idea
of that (s)he is doing, and is taking timing into account.

Yes, microcoding *is* not something that *anybody* can do.  It helps
to have a picture of the gates and bus lines you're working with (looks
like a railroad map, y'know).  It is also important to consider timing.

Look at the Fortran compiler for the ol' UNIVAC 1110 (a/k/a 1100/40);
it used a pipeline architecture, so the compiler would be able to look
at the code and do some shuffling to avoid register timing conflicts
that would stall the code.

Many RISC chips would need to stall when a register conflict arises;
this is a *feature* introduced for stability.  If you can write code that
avoids stalls, everything will work better.

--
 John R. Campbell, Speaker to Machines                      soup@kd3bj.ampr.org
         "Son, you *can't* learn about impotence the hard way" - me



  parent reply	other threads:[~1996-07-19  4:00 UTC|newest]

Thread overview: 135+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Du2IrD.LBx@cee.hw.ac.uk>
     [not found] ` <4rks7r$2ab@nnrp1.news.primenet.com>
     [not found]   ` <4rmnn6$fc5@news.interlog.com>
     [not found]     ` <DuC503.KxK@cee.hw.ac.uk>
     [not found]       ` <4s1ee6$5om@news.interlog.com>
1996-07-13  4:00         ` P6 vs Alpha (was Re: Pro vs. Mips/Alpha) Paul DeMone
1996-07-13  4:00           ` Pascal Dornier
1996-07-14  4:00             ` N Novakovic
1996-07-14  4:00               ` Dave Glue
1996-07-14  4:00                 ` H.W. Stockman
1996-07-16  4:00                   ` Zalman Stern
1996-07-17  4:00                     ` John Hascall
1996-07-17  4:00                       ` John Pieper
1996-07-18  4:00                         ` Zalman Stern
1996-07-19  4:00                           ` Torben AEgidius Mogensen
1996-07-19  4:00                             ` H.W. Stockman
1996-07-19  4:00                               ` John Hascall
1996-07-19  4:00                               ` John R Campbell [this message]
1996-07-19  4:00                               ` Krste Asanovic
1996-07-19  4:00                               ` Laurent.DESNOGUES
1996-07-19  4:00                               ` Zalman Stern
1996-07-20  4:00                                 ` John Hascall
1996-07-20  4:00                                   ` H.W. Stockman
1996-07-22  4:00                                   ` Zalman Stern
1996-07-22  4:00                               ` Torben AEgidius Mogensen
1996-07-15  4:00                 ` N Novakovic
1996-07-16  4:00                 ` Paul DeMone
1996-07-16  4:00                   ` Zalman Stern
1996-07-17  4:00                     ` Paul DeMone
1996-07-18  4:00                       ` Zalman Stern
1996-07-19  4:00                         ` Paul DeMone
1996-07-19  4:00                           ` Patrick Gainer
1996-07-19  4:00                             ` Old-Fashioned Staffordshire Plate...
1996-07-19  4:00                             ` Paul DeMone
1996-07-19  4:00                               ` Patrick Gainer
1996-07-19  4:00                                 ` Paul DeMone
1996-07-20  4:00                                   ` Patrick Chase
1996-07-20  4:00                                     ` Paul DeMone
1996-07-20  4:00                                     ` Patrick Chase
1996-07-20  4:00                                       ` Paul DeMone
1996-07-23  4:00                                     ` bill davidsen
1996-07-30  4:00                                       ` Paul DeMone
1996-07-22  4:00                                 ` Allen J. Baum
1996-08-03  4:00                                 ` Przemek Klosowski
1996-07-31  4:00                               ` P6 vs Alpha and P7 futures zrepachol
1996-07-30  4:00                                 ` Old-Fashioned Staffordshire Plate...
1996-07-23  4:00                           ` P6 vs Alpha (was Re: Pro vs. Mips/Alpha) bill davidsen
1996-07-24  4:00                             ` Paul DeMone
1996-07-24  4:00                               ` N Novakovic
1996-07-24  4:00                             ` Paul DeMone
1996-07-24  4:00                             ` Paul DeMone
1996-07-24  4:00                             ` Paul DeMone
1996-07-24  4:00                               ` Paul DeMone
1996-07-28  4:00                       ` Home Computing Andy Glew
1996-07-30  4:00                         ` Paul DeMone
1996-07-31  4:00                       ` Andy Glew
1996-08-01  4:00                       ` Michael Meissner
1996-07-17  4:00                 ` P6 vs Alpha (was Re: Pro vs. Mips/Alpha) Robert Bryant
1996-07-15  4:00   ` Jeff Tuckey
1996-07-17  4:00     ` Paul DeMone
1996-07-17  4:00   ` Przemek Klosowski
1996-07-17  4:00   ` Bryan O'Sullivan
1996-07-17  4:00 Robert Harley
1996-07-22  4:00 ` Andy Glew
  -- strict thread matches above, loose matches on Subject: below --
1996-07-19  4:00 David T. Wang
1996-07-22  4:00 ` Paul DeMone
1996-07-22  4:00   ` David T. Wang
1996-07-23  4:00     ` D.Webb
1996-07-23  4:00     ` Paul DeMone
1996-07-25  4:00     ` Torben AEgidius Mogensen
1996-07-27  4:00       ` H.W. Stockman
1996-07-22  4:00   ` Raghu Mani
1996-07-24  4:00   ` Chung-Hsuing Yang
1996-07-25  4:00     ` D.Webb
1996-07-22  4:00 ` Chung-Hsuing Yang
1996-07-23  4:00   ` David T. Wang
1996-07-19  4:00 Robert Harley
1996-07-19  4:00 ` Michael Woodacre
1996-07-22  4:00 Robert Harley
1996-07-22  4:00 ` H.W. Stockman
1996-07-23  4:00   ` bill davidsen
1996-07-24  4:00     ` H.W. Stockman
1996-07-25  4:00       ` Tony Finch
1996-07-26  4:00       ` Paul Donahue
1996-07-26  4:00         ` G. Herrmannsfeldt
1996-07-27  4:00           ` Magnus Redin
1996-07-29  4:00             ` Larry Kilgallen
1996-07-29  4:00               ` SeanOBanio
1996-07-26  4:00         ` H.W. Stockman
1996-07-29  4:00           ` Wilco Dijkstra
1996-07-26  4:00         ` Tony Finch
1996-07-29  4:00           ` Paul Donahue
1996-07-30  4:00     ` Dennis O'Connor~
1996-07-22  4:00 ` John Tromp
1996-07-22  4:00 ` Dennis O'Connor~
1996-08-21  4:00   ` Lupo LeBoucher
1996-08-22  4:00     ` John Ahlstrom
1996-08-22  4:00       ` Robert Rodgers
1996-08-22  4:00         ` system
1996-08-23  4:00           ` Robert Rodgers
1996-08-23  4:00         ` ho
1996-08-22  4:00       ` Dick Wilmot
1996-08-28  4:00         ` Tony Nelson
1996-08-23  4:00       ` Ling Wang
1996-08-27  4:00         ` Bill Crick
1996-08-22  4:00     ` Joe Buck
1996-08-22  4:00       ` David Jaffe
1996-08-23  4:00     ` Patrick Bridges
1996-08-25  4:00       ` Joe Keane
1996-07-22  4:00 ` Hugh LaMaster
1996-07-23  4:00   ` Cliff Click
1996-07-24  4:00   ` Joe Buck
1996-07-25  4:00     ` Hugh LaMaster
1996-08-05  4:00       ` bill davidsen
1996-08-06  4:00         ` Hugh LaMaster
1996-08-07  4:00         ` Joe Buck
1996-07-23  4:00 ` bill davidsen
1996-07-23  4:00 Patrick
1996-07-23  4:00 ` Greg Franks
1996-07-23  4:00   ` bill davidsen
1996-07-24  4:00     ` Phillip Fayers
1996-07-24  4:00     ` Amancio Hasty Jr.
1996-08-04  4:00       ` Wm. E. Davidsen Jr
1996-07-23  4:00   ` Ron Natalie
1996-07-23  4:00 ` Bohdan Tashchuk
1996-07-24  4:00   ` Phillip Fayers
1996-07-24  4:00     ` Patrick
1996-07-25  4:00       ` Brendan White
1996-07-23  4:00 ` morphis
1996-07-24  4:00 ` Ron Natalie
1996-07-24  4:00 ` Dennis O'Connor~
1996-07-24  4:00 ` Greg Franks
1996-07-24  4:00 ` Steven Engelbrecht
1996-07-25  4:00 ` Amos Shapir
1996-07-25  4:00   ` Bohdan Tashchuk
1996-07-26  4:00     ` Torben AEgidius Mogensen
1996-07-28  4:00       ` Patrick Chase
1996-07-30  4:00         ` Bernd Paysan
1996-08-01  4:00           ` Vivek Sadananda Pai
1996-07-28  4:00 ` Amancio Hasty Jr.
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