Article View: comp.arch
Article #709Re: CISC are not "unreduced"
From: Anton Ertl
Date: Fri, 13 Nov 2026 21:51
Date: Fri, 13 Nov 2026 21:51
36 lines
3153 bytes
3153 bytes
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 -- 'Anyone trying for "industrial quality" ISA should avoid undefined behavior.' Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>
Technical Details
Message-ID:
<2026Nov13.225125@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-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>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" Date: Fri, 13 Nov 2026 21:51:25 GMT Organization: Institut fuer Computersprachen, Technische Universitaet Wien Lines: 36 Message-ID: <2026Nov13.225125@mips.complang.tuwien.ac.at> 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> Injection-Date: Fri, 13 Nov 2026 22:00:13 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1518638"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX185qXD8PN0DarPlYUR0gkek"; posting-host="a4b6f5891e16eec05578d4726effa55e" Cancel-Lock: sha1:s4LaHRtorNMyCixFICnfAiXo4YU= sha256:/sQxJHUEcxpKHqY361/Q8Wk7I2VlaIjnE+ia8yDtHfc= sha1:T/vjsqvXe0uQB4imeqd7RW2nwPE= sha256:ATf6vELFGCMxRa0OJEd6kEcgT6YfmLSdt5sWlhXauhU= X-newsreader: xrn 10.11