🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #644

Re: CISC are not "unreduced" (was: vector length CSR?)

#644
From: Anton Ertl
Date: Wed, 11 Nov 2026 09:57
32 lines
2974 bytes
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>The million instructions of AES don't feel very CISCy to me.

Not sure what you mean by that.

Intel's AES instruction set has 6 instructions
<https://en.wikipedia.org/wiki/AES-NI> and later they added 4 AVX-512
variants <https://en.wikipedia.org/wiki/AVX-512#VAES>.  As usual for
SSE (AES-NI) and AVX-512 instructions, one operand can be either in a
register or in memory.  So that's not RISC.  If you only do these
instructions with register operands, they look RISCy to me.  If you
mean the dynamic use of the instructions, you need to use AESENC 9
times and then call AESENCLAST omc to perform an AES-128 computation;
you need to prepare the key in 10 XMM/ZMM registers first.  in this
respect it is RISCy, rather than the CISCy approach of doing the full
computation in one instruction.

A more borderline issue is some crypto instruction (or several?) in
ARM A64, that uses IIRC 8 registers for its work.  IIRC the registers
are implicit in the instruction (unusual for RISC, but given the
number of registers involved...), and the instruction does so many
dependent operations that I think of a microcode engine for
implementing it, so it has a certain CISCy feeing.  But OTOH, the
instruction only accesses registers, so it avoids the usual
complications of CISCs, such as possibly having a page fault in the
middle of the computation.  Unfortunately, I don't remember further
details.

- anton
-- 
'Anyone trying for "industrial quality" ISA should avoid undefined behavior.'
  Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>
Technical Details
Message-ID: <2026Nov11.105730@mips.complang.tuwien.ac.at>
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
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>

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: anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.arch
Subject: Re: CISC are not "unreduced" (was: vector length CSR?)
Date: Wed, 11 Nov 2026 09:57:30 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 32
Message-ID: <2026Nov11.105730@mips.complang.tuwien.ac.at>
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>
Injection-Date: Wed, 11 Nov 2026 10:32:13 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3099557"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/mbmWO9CHKgQWvrOFePiax"; posting-host="9be58ce66f14ec876e6ac91941122637"
Cancel-Lock: sha1:0N51/ynVrHfdWAGxT4xXuW7nONE= sha256:cdzkhnOQntteYDNyJQFM6o6SxhO3uaLpxZvvfmMvfu8=
	sha1:e6PafBYPEbOs9DQVTdRB7O4w+C8= sha256:ltNFbHmiVP0k+exgcUnidXaHe0xsFFZcBa888mJLXyk=
X-newsreader: xrn 10.11