Article View: comp.arch
Article #495Re: Register windows (was: Why VAX Was the Ultimate CISC and Not RISC)
From: Anton Ertl
Date: Sat, 31 Oct 2026 19:15
Date: Sat, 31 Oct 2026 19:15
47 lines
3517 bytes
3517 bytes
MitchAlsup <user5857@newsgrouper.org.invalid> writes: >anton@mips.complang.tuwien.ac.at (Anton Ertl) posted: >> if we take the "--no-dynamic" away ... >> But it uses dynamic native-code generation, which you have poo-pooed >> as "self-modifying code", > >I have indeed. >If --no-dynamic has to do with dynamically loaded libraries, ABI >allows for them via GOT (without PLT saving a branch in the process). No, --no-dynamic falls back to using a threaded-code interpreter, while --dynamic (default) uses native code generated at run-time (what you call "self-modifying code" and want to disable; other people call it "JIT compilation"). >There are leaf functions which need more than 16 registers--where did I >imply otherwise--there are "just not many". Here: >> >Leaf functions (93%) save no registers at all as they >> >perform their duties in the freely-available temporary registers R0..15 >Remember >that 10-wide machine is only retiring 3 I/c. I regularly see programs with >3IPC on 5-wide, 6-wide and 8-wide machines. E.g., for "gforth-fast onebench.fs" mentioned above on a Darkmont (Core Ultra 225 E-Core). 424_922_809 cpu_atom/cycles:u/ 2_044_802_828 cpu_atom/instructions:u/ # 4.81 insn per cycle A few weeks ago <2026Sep21.171615@mips.complang.tuwien.ac.at> I reported measuring 6.75 IPC on a Rocket Lake, which is usually considered to be 5-wide, and with reason (only 5 renamer slots etc.). Here we see 7 IPC in a loop because the loop contains two cmp+branch combinations, which consume only one slot in the path from the microcode cache through the renamer to the schedulers. Both branches are taken in the measured loop, i.e., 1 taken branch every 3.5 instructions. - anton -- 'Anyone trying for "industrial quality" ISA should avoid undefined behavior.' Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>
Technical Details
Message-ID:
<2026Oct31.201546@mips.complang.tuwien.ac.at>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<vpufbv$4qc5$1@dont-email.me> <2026Oct26.193309@mips.complang.tuwien.ac.at> <11bob96$3af$2@gal.iecc.com> <11bpggu$1961c$1@dont-email.me> <1793120292-5857@newsgrouper.org> <2026Oct29.171118@mips.complang.tuwien.ac.at> <1793296454-5857@newsgrouper.org> <2026Oct29.190945@mips.complang.tuwien.ac.at> <1793305885-5857@newsgrouper.org> <2026Oct30.080654@mips.complang.tuwien.ac.at> <1793385253-5857@newsgrouper.org> <2026Oct31.091342@mips.complang.tuwien.ac.at> <1793470952-5857@newsgrouper.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!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: Register windows (was: Why VAX Was the Ultimate CISC and Not RISC) Date: Sat, 31 Oct 2026 19:15:46 GMT Organization: Institut fuer Computersprachen, Technische Universitaet Wien Lines: 47 Message-ID: <2026Oct31.201546@mips.complang.tuwien.ac.at> References: <vpufbv$4qc5$1@dont-email.me> <2026Oct26.193309@mips.complang.tuwien.ac.at> <11bob96$3af$2@gal.iecc.com> <11bpggu$1961c$1@dont-email.me> <1793120292-5857@newsgrouper.org> <2026Oct29.171118@mips.complang.tuwien.ac.at> <1793296454-5857@newsgrouper.org> <2026Oct29.190945@mips.complang.tuwien.ac.at> <1793305885-5857@newsgrouper.org> <2026Oct30.080654@mips.complang.tuwien.ac.at> <1793385253-5857@newsgrouper.org> <2026Oct31.091342@mips.complang.tuwien.ac.at> <1793470952-5857@newsgrouper.org> Injection-Date: Sat, 31 Oct 2026 19:33:06 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1443918"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/+2bqCocBjBJIVjWdKmrIQ"; posting-host="3ac4bdbf86557ee00395b878a304d3f2" Cancel-Lock: sha1:qNSbhmxumjWkr1sA53g0wvscQ3Y= sha256:1wWoy+eXxfp1HaYiqYRQN5e+KWlO+vr/TK9l6fe5EEQ= sha1:lOcB+Uhiy+zkeri/u5cKCN0stYE= sha256:XHCscDa8eGbra2ptyppW/sLJfQGhBE0AwMQF0xx1krw= X-newsreader: xrn 10.11