Article View: comp.arch
Article #498Re: Register windows (was: Why VAX Was the Ultimate CISC and Not RISC)
From: MitchAlsup
Date: Sat, 31 Oct 2026 20:44
Date: Sat, 31 Oct 2026 20:44
64 lines
4044 bytes
4044 bytes
anton@mips.complang.tuwien.ac.at (Anton Ertl) posted: > 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. I see similar (at a smaller scale) when my cores perform CoIssue (similar to instruction fusing, but designed to leverage RF ports across instructions. A CoIssued instruction requires no more RF ports or rename ports than any 'random' instruction can use. Since STs do not write to RF, STs can be CoIssued with any following calculation instruction (or branch instruction). Since conditional Branch instructions do not write RF, they can be CoIssued with previous calculation instruction. STs and <conditional> branches make up 30%-odd of instruction stream: so, the decoder looks to be processing 1.3 I/c in a 1-wide implementa- tion. There are other potentials--but since this is not close to RISC-V's instruction fusing, I had to use a different word. > > - anton
Technical Details
Message-ID:
<1793479457-5857@newsgrouper.org>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!newsgrouper.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> <2026Oct31.201546@mips.complang.tuwien.ac.at>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!newsgrouper.org!.POSTED!not-for-mail From: MitchAlsup <user5857@newsgrouper.org.invalid> Newsgroups: comp.arch Subject: Re: Register windows (was: Why VAX Was the Ultimate CISC and Not RISC) 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> <2026Oct31.201546@mips.complang.tuwien.ac.at> Date: Sat, 31 Oct 2026 20:44:17 GMT Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-ID: <1793479457-5857@newsgrouper.org> Injection-Info: newsgrouper.org; mail-complaints-to="newsgrouper@yahoo.com"; posting-account=user5857 Injection-Date: Sat, 31 Oct 2026 20:44:17 GMT User-Agent: Newsgrouper/0.9.0