🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #1593

Re: RISC is NOT micro-code

#1593
From: Jim Giles
Date: Wed, 19 Jul 1989 21:38
38 lines
2337 bytes
From article <2203@taux01.UUCP>, by cjosta@tasu77.UUCP (Jonathan Sweedler):
> [...]                                      I was always under the
> impression that RISC machines need more complex compilers, not just
> because of the need for more optimization, but because RISC chips are
> 'dumber' than CISC chips.  i.e. a lot of the complexity of the chip is
> moved to the software.

You are confusing complexity with quantity.  RISC compilers usually
(but not always) generate more instructions for a given task than
CISC compilers do.  However, the task of generating code for RISC
is _much_ easier than generating code for CISC.  So, the RISC compiler
is simpler than the CISC compiler even if it does produce more output.


> [...]                   Don't forget that MIPS, one of the early RISC
> chips, stands for 'Microprocessor without Interlocked Pipe Stages.'
> This means that interlocks must be handled in the compiler.  So
> forgetting about all optimization, just writing a compiler that WORKS
> on a RISC chip is by DEFINITION harder than writing a compiler for a
> CISC chip.

You stated that incorrectly.  Forgetting about all optimization, just
writing a compiler that WORKS on a non-interlocked chip is by DEFINITION
harder than writing a compiler for an interlocked chip.  This doesn't
necessarily have anything to do with RISC vs. CISC.

[...]
> Just so I don't start a new war here, I'm not saying any of this is
> bad.  RISC seems to be proving its point.  But I think that a RISC
> compiler is NECESSARILY more complex than a CISC compiler, regardless
> of the level of optimization performed by the compiler.

The strange fact is: for a given degree of optimization, it is harder
to compile for CISC than RISC.  This is hardly surprising.  Computers
are real good at simple repetitive tasks (like generating code for
RISC machines).  Complex tasks (liking making good use of a rich
instruction set on a CISC) require more effort on the part of the
_programmer_.
Technical Details
Message-ID: <13996@lanl.gov>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!hc!lanl!jlg
References: <2203@taux01.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!hc!lanl!jlg
From: jlg@lanl.gov (Jim Giles)
Newsgroups: comp.arch
Subject: Re: RISC is NOT micro-code
Message-ID: <13996@lanl.gov>
Date: 19 Jul 89 21:38:03 GMT
References: <2203@taux01.UUCP>
Organization: Los Alamos National Laboratory
Lines: 38