Article View: comp.arch
Article #1062Re: CISC are not "unreduced"
From: Waldek Hebisch
Date: Fri, 04 Dec 2026 02:18
Date: Fri, 04 Dec 2026 02:18
81 lines
5348 bytes
5348 bytes
Stephen Fuld <sfuld@alumni.cmu.edu.invalid> wrote:
> On 12/1/2026 10:54 AM, MitchAlsup wrote:
>> antispam@fricas.org (Waldek Hebisch) posted:
>
> snip
>
>>> For RISC, you generate much more
>>> loads than for VAX, but decision when to generate a load is
>>> quite simple.
>>
>> The data does not substantiate that statement. CISC machines operated
>> with an inbound memory reference about 50% of instructions. RISC
>> machines trimmed this down to 20%.
>>
>> A variable is used (typically) 1.2 times after it gets loaded.
>> A CISC will simply use the D$ and produce 2 address modes,
>> whereas RISC will LD the location and use it 1.2 times.
>
> Something in this seemed "off" to me. After all, the CISC machines I am
> used to had load instructions and register to register adds, so if the
> "RISC way" were better, they could have used it - just generate the same
> instructions a RISC system would use.
>
> After thinking about it for a while, I realized that the CISC people got
> it right - *for the technology of the time*. Back then, the disparity
> between CPU speed and memory access time was much less than it is now,
> memory was relativly more expensive than it is now, and there was
> minimal OoO execution.
Actually, at the top end there was significant disparity of memory
access time and execution speed, not as big as now but quite
significant. On low end CISC had significant cost due to need
for microcode.
AFAICS, already in the sixties it was clear that having exclusively
mem-to-mem operations was not good. OTOH having load-op as an
option leads to various tradoffs. AFAICS, load-ops if implemented
well may lead to higher performance. But some compilers in seventies
only generates separtate loads. And efficient load-ops increase
complexity of the CPU. Given that chip area was limited, it was
natural to avoid load-ops. I think that is modern time high
performance CPU will execute essentially the same thing regardless
if official archiecture only allows separate loads or load-ops. The
difference is likely to be in decoders, which can split instructions
needing this or possibly fuse instructions if this is more
convenient. On low end implementations it could matter more,
but probably not too much. Loads normally will be done by
separate functional unit compared to performing actual operation.
So the difference is mainly if it is easier to handle separate
instructions, needing positionions in instruction buffers and
needing dependency tracking or single instruction which needs
more info in single instruction but leads to smaller number
of "in flight" instructions.
In decoders splitting is probably slightly easier than fusing.
> So for the CISC systems of the day, the cost of the two memory reference
> instructions was relativly less than it is now, and the cost of the
> extra memory usage (three instructions versus two) was relativly more
> than it is now. So the choice of the non "RISC way" was the right choice.
Extra (unneded) stores and redundant loads (that is loadning data
already present in a register) were essentially always a loss.
Mem-mem ops were unavoidable when machines were register starved,
but that changed in the sixties. But even with efficient use
of registers you need to read some data from memory anyway.
In this case having load-op allows reducing number of instructions.
And usually this led to better performance: once machines got
caches most loads were from the cache, so memory access time
was small and there was gain from smaller number of instructions.
> Now, of course, the relative speeds of CPU and memory, lower cost of
> memory, and the capabilities of OoO to move the load earlier have
> changed the game and the "RISC way" is superior.
OoO means that in load-ops load will be scheduled first and op
later, so that alone is not a differentiator. AFAICS other
issues are more important.
--
Waldek Hebisch
Technical Details
Message-ID:
<11et7sp$3m2ne$1@paganini.bofh.team>Path:
mbox-mo1.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!paganini.bofh.team!not-for-mailReferences:
<11cpqih$acf5$1@dont-email.me> <11cti0c$1lilf$4@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>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!paganini.bofh.team!not-for-mail
From: antispam@fricas.org (Waldek Hebisch)
Newsgroups: comp.arch
Subject: Re: CISC are not "unreduced"
Date: Fri, 4 Dec 2026 02:18:03 -0000 (UTC)
Organization: bofh.team Usenet service
Message-ID: <11et7sp$3m2ne$1@paganini.bofh.team>
References: <11cpqih$acf5$1@dont-email.me> <11cti0c$1lilf$4@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>
Injection-Date: Fri, 4 Dec 2026 02:18:03 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="3869422"; mail-complaints-to="usenet@bofh.team"; posting-host="d028f9ad2fa2c51f22dbfed0d81d7daf"; posting-account="69e66f1681224ab92235b464ce7a90b6"
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.1.0-9-amd64 (x86_64))
X-Postfilter: Postfilter-NG 2026.10.2