Article View: comp.arch
Article #682Re: CISC are not "unreduced"
From: Stefan Monnier
Date: Fri, 13 Nov 2026 00:04
Date: Fri, 13 Nov 2026 00:04
67 lines
4599 bytes
4599 bytes
Anton Ertl [2026-11-12 06:21:21] wrote: > Stefan Monnier <monnier@iro.umontreal.ca> writes: >>Yeah, if we take CISC as motivated by the desire to provide an assembly >>language that is comfortable for humans, we can also take RISC as >>motivated by the desire to provide an assembly language that's >>convenient for compilers (which would rather not need to worry about >>tradeoffs between using LD+ADD+ST vs using some fancy addressing mode >>on ADD). > The fancy addressing mode is the same whether you use it with a LD, a > ST, or an ADD. That's beside the point. With a load/store architecture you don't need to choose between using the ADD-with-addressing mode or using explicit loads and stores. Makes life simpler for the compiler. > Compilers actually have no problem using that addressing mode, > especially in an architecture like VAX: When the variable resides in a > register, use a register, when it's in memory, use the appropriate > addressing mode. What if explicit loads and stores are faster/slower? And how is the answer affected by subsequent operations accessing the same memory location? > (optimality is more difficult, but for trees has been > reached with tree-parsing, as used in burg or iburg). And this is useful for CISC but much less so for RISC, so you can use a simpler compiler for RISC instruction sets. > But these addressing modes are not used much, not by compilers, Exactly. > We have learned how to do such tools with the more efficient calling > conventions we use now, but that does cost a lot of complexity in the > tools: Generating and using DWARF information etc. Ok, DWARF is not > just about calling conventions, but it might be interesting to > consider how much simpler debugging information would be with VAX > CALLs. That's a good point. AFAICT this has not been taken into account in the RISC designs. 🙁 >> From that point of view, AES is neither CISCy nor RISCy because it's >> convenient only for the CPU implementors. > AES instructions are not particularly convenient for CPU implementors, > probably on the contrary, because they need hardware that is not > useful for anything else. AFAIK, AES was designed specifically to give access to that extra hardware. More specifically, manufacturers were eager to add more FPUs and the question they faced was how to make that hardware available to the programmer. IOW it's "more hardware" that caused AES rather than the other way around. And AFAICT, AES is a fairly naive/simple way (for the CPU implementor) to give access to that hardware. >> [ In contrast, vVM is definitely RISCy from that standpoint. ] > vVM is a microarchitectural mechanism, Is it? I use it as a way to refer to the design of VEC+LOOP (which is so designed as to allow a particular micro-architecture). === Stefan
Technical Details
Message-ID:
<jwvy0axmx8f.fsf-monnier+comp.arch@gnu.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11cpqih$acf5$1@dont-email.me> <11cr2g5$q796$2@dont-email.me> <2026Nov9.071302@mips.complang.tuwien.ac.at> <11cru1e$11qpi$1@dont-email.me> <2026Nov9.091404@mips.complang.tuwien.ac.at> <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>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Stefan Monnier <monnier@iro.umontreal.ca> Newsgroups: comp.arch Subject: Re: CISC are not "unreduced" Date: Thu, 12 Nov 2026 19:04:09 -0500 Organization: A noiseless patient Spider Lines: 67 Message-ID: <jwvy0axmx8f.fsf-monnier+comp.arch@gnu.org> References: <11cpqih$acf5$1@dont-email.me> <11cr2g5$q796$2@dont-email.me> <2026Nov9.071302@mips.complang.tuwien.ac.at> <11cru1e$11qpi$1@dont-email.me> <2026Nov9.091404@mips.complang.tuwien.ac.at> <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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 13 Nov 2026 10:06:31 +0000 (UTC) Injection-Info: dont-email.me; logging-data="772358"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Cg88uFLAOxWaRiKrBu+KVrYkAs16vVbE="; posting-host="c546f07209ca03adbe2784346d0cc8c4" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:I0zgULt+reLKShjWZf9bQIawvCY= sha1:KAvnz/JU+X6mTUPi7e4KQpdTDz4= sha256:8wiadJX5IzPp4Ld6tc0OICV1UnGJ+XpQiXwVRYykJ8s= sha1:6UCLNWRnvzVlGySoWxPAcJSqNPQ= sha256:1rasUAF7rlJ1HUqadc4P4dsQsctJepw+t/RRE2mL+9Q= In-Reply-To: <2026Nov12.072121@mips.complang.tuwien.ac.at> (message from anton@mips.complang.tuwien.ac.at (Anton Ertl) on Thu, 12 Nov 2026 06:21:21 GMT)