Article View: comp.arch
Article #720Re: CISC are not "unreduced"
From: Michael S
Date: Sat, 14 Nov 2026 16:36
Date: Sat, 14 Nov 2026 16:36
42 lines
3461 bytes
3461 bytes
On Fri, 13 Nov 2026 21:51:25 GMT anton@mips.complang.tuwien.ac.at (Anton Ertl) wrote: > anton@mips.complang.tuwien.ac.at (Anton Ertl) writes: > >Stefan Monnier <monnier@iro.umontreal.ca> writes: > >>And how is the answer affected by subsequent operations accessing > >>the same memory location? > > > >Just the same as on a RISC: You run register allocation before > >instruction selection, so if a value is accessed several times and > >registers are available, the value will be allocated into a register, > >on both architecture styles. > > Actually, normally register allocation is performed after instruction > selection. So if the operand is a local variable that can be in a > register (no address taken), it will be assumed to be in a register, > for instruction selection. Later the register allocator actually > tries to allocate a register for the variable, and if not, on a RISC > spill code is inserted with additional live ranges, and the register > allocator has to run again (at least that's the way that Chaitin and > Briggs described this). On a VAX, you just use a memory operand for > those variables that do not fit into registers. > > >>> 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). > > > >Architecturally, LOOP is a branch (maybe it also deals with the loop > >counter?), and VEC is a noop AFAIK. > > And the fact that VVM is a microarchitectural mechanism is it's > beauty. The semantics are just the same as for the whole loop without > VVM. > > - anton How would you do it for non-associative arithmetic opcodes like floating-point?
Technical Details
Message-ID:
<20261114183612.00006a3f@yahoo.com>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srv.newsdeef.eu!weretis.net!feeder9.news.weretis.net!news.quux.org!wilderland.ovh!ereborbbs.duckdns.org!eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11cpqih$acf5$1@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> <jwvy0axmx8f.fsf-monnier+comp.arch@gnu.org> <2026Nov13.192642@mips.complang.tuwien.ac.at> <2026Nov13.225125@mips.complang.tuwien.ac.at>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srv.newsdeef.eu!weretis.net!feeder9.news.weretis.net!news.quux.org!wilderland.ovh!ereborbbs.duckdns.org!eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Michael S <already5chosen@yahoo.com> Newsgroups: comp.arch Subject: Re: CISC are not "unreduced" Date: Sat, 14 Nov 2026 18:36:12 +0200 Organization: A noiseless patient Spider Lines: 42 Message-ID: <20261114183612.00006a3f@yahoo.com> References: <11cpqih$acf5$1@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> <jwvy0axmx8f.fsf-monnier+comp.arch@gnu.org> <2026Nov13.192642@mips.complang.tuwien.ac.at> <2026Nov13.225125@mips.complang.tuwien.ac.at> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Date: Sat, 14 Nov 2026 16:36:11 +0000 (UTC) Injection-Info: dont-email.me; logging-data="2178068"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/d+zK6Um5dH2bnw/+r8k6Kmv5KVZCU4Go="; posting-host="bb5635095ca7eb4b65c164a3d0eebbd3" Cancel-Lock: sha1:0/7KsE7VTzq7oyeKBJ3AiazU7xk= sha256:GwMKY+oCBQ/ETZMEmAyCY/DAoSrthQv9j43aq2NJ/rE= sha1:nXwntq5fMIAzfuYFKYNWtXq1hvk= sha256:KxLhRrEIlwax/PppPsy/fF9pc7lKPEL8N5Ta+6Ua6Kw= X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32)