🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #1050

Re: CISC are not "unreduced"

#1050
From: Anton Ertl
Date: Thu, 03 Dec 2026 18:14
64 lines
4780 bytes
Stephen Fuld <sfuld@alumni.cmu.edu.invalid> writes:
>So then you are agreeing with me that at least up to the mid 1970, and 
>for some systems, much later, the "CISC way", i.e. "load and operate" 
>instructions were a better choice.

I have been thinking about how 8-bit microprocessors (say, in 1975
(6502) or 1976 (Z80)) would be designed with what we know now.  These
machines have no cache and are memory-bandwidth-limited.  Ways to
reduce memory accesses:

* Reduce data memory accesses by keeping data in registers; but how
  many registers can one keep in 8-bit micros of the day?  The 6502 is
  very starved, but the Z80 has 2x10 8-bit and 4 16-bit registers
  (including SP, PC, F and F', see
  <https://en.wikipedia.org/wiki/File:Z80_arch.svg>), so registers at
  the time were not that expensive.

* Reduce executed instructions, e.g., with instructions that work on
  16 bits, or with instructions that include memory accesses.

* Keep instructions small, ideally in one byte.  Maybe avoid a
  register machine, which consumes lots of encoding space, but instead
  use a stack machine, or a machine with data and address registers.
  But there is the need to include immediate arguments, so
  single-cycle pipelined execution is not directly possible.  The 6502
  with its abs abs,x abs,y addressing modes (three bytes per
  instruction) is not so great in this respect.

One can see why the designers at the time went in the direction of (a
few years later) the 6809 and the 8088.

Back to your point: the posterboy CISC, the VAX 11/780 (1977) had
enough hardware, memory width, and a cache, so many of the 8-bit
compromises were not necessary.  The IBM 801 team at the same time
went for a 15MHz pipelined RISC (in ECL, no idea how they got their
memory bandwidth), the VAX designers went for the VAX ISA with a 5MHz
VAX 11/780 with an average CPI of 10.

Instead they could have gone for a 5MHz RISC (similar to the TS-1, the
TTL implementation of HPPA, but with compressed instructions).
Admittedly, that would have had to wait a lot on cache misses,
resulting in, conservatively, 3 CPI (with a a cache access taking 1
cycle, a main memory access taking 3 cycles, and load and store
instructions taking a memory access in addition to the possible
instruction fetch).  With a factor 1.5 in fewer executed instructions
for the VAX with its memory operands, the result would have been twice
as fast as the VAX 11/780.  EricP has explored the instruction
fetching part of such a design and posted about that here.

The whole load-and-operate and RMW concept comes from register-starved
architectures like the IBM 704.  But the VAX has 16 registers.  Having
memory operands is not that often necessary there.  Supporting three
memory operands with indirection is even less necessary, and
complicates the implementation.  And all of that also costs encoding
space.

With compressed instructions, the RISC can have a smaller code size
than the VAX, as the data from NetBSD (with VAX and RV32GC, among
others) shows.

- anton
-- 
'Anyone trying for "industrial quality" ISA should avoid undefined behavior.'
  Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>
Technical Details
Message-ID: <2026Dec3.191404@mips.complang.tuwien.ac.at>
Path: mbox-mo1.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11cpqih$acf5$1@dont-email.me> <11cuoa4$21279$1@dont-email.me> <jwvcxscsjsa.fsf-monnier+comp.arch@gnu.org> <1794357499-5857@newsgrouper.org> <jwvik23o10u.fsf-monnier+comp.arch@gnu.org> <2026Nov12.072121@mips.complang.tuwien.ac.at> <jwvy0axmx8f.fsf-monnier+comp.arch@gnu.org> <2026Nov13.192642@mips.complang.tuwien.ac.at> <11ekc0r$2dni3$1@paganini.bofh.team> <1796151298-5857@newsgrouper.org> <11eo9j3$2k26v$1@dont-email.me> <11epuo7$3fi26$2@dont-email.me> <11es8g6$ju2p$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.arch
Subject: Re: CISC are not "unreduced"
Date: Thu, 03 Dec 2026 18:14:04 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 64
Message-ID: <2026Dec3.191404@mips.complang.tuwien.ac.at>
References: <11cpqih$acf5$1@dont-email.me> <11cuoa4$21279$1@dont-email.me> <jwvcxscsjsa.fsf-monnier+comp.arch@gnu.org> <1794357499-5857@newsgrouper.org> <jwvik23o10u.fsf-monnier+comp.arch@gnu.org> <2026Nov12.072121@mips.complang.tuwien.ac.at> <jwvy0axmx8f.fsf-monnier+comp.arch@gnu.org> <2026Nov13.192642@mips.complang.tuwien.ac.at> <11ekc0r$2dni3$1@paganini.bofh.team> <1796151298-5857@newsgrouper.org> <11eo9j3$2k26v$1@dont-email.me> <11epuo7$3fi26$2@dont-email.me> <11es8g6$ju2p$1@dont-email.me>
Injection-Date: Thu, 03 Dec 2026 19:06:12 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="767082"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/MrG6w52QJsdBX0V5Lbifl"; posting-host="b318e488349409aaa87abf1f338dcb0c"
Cancel-Lock: sha1:5zRogywZcpj61aXOHwjzLwVScFA= sha256:WkhNjf/XxnVI9mmo6EzqijshKzAkGVL3CdcrTGDBSKE=
	sha1:Jy+n7CBExjmutX+C+8b+bnlhqG0= sha256:GHFlafm61abei641Q7FKYQgZPrWjJwNvbL0WLGvqFyM=
X-newsreader: xrn 10.11