by zozbot234 · 3y ago · 0 comments
(The E variety of RISC-V is also a bit strange in having only 16 integer registers, but the rationale for that was supporting smaller chips and easier extensibility; it's still very clearly a load-store architecture where compute happens within registers. Arguably, compilers have also gotten better at staying within fewer registers and not spilling to memory. So "number of registers" as a criteria might have shifted a little bit.)
Makes sense as a hardware designer to be able to pick a power- and space-efficient chip.
Mashey also had thoughts about that: https://yarchive.net/comp/mips16.html
Likewise for atomic operations: https://yarchive.net/comp/ll_sc.html
They will have a third very soon. The encoding space for 4-byte instructions is almost spent.