Re:The Art of Picking Intel Registers (2003)
by pvg on Sunday April 22, 2018 @11:12PM
(#16900250)
Registers are part of the CPU so they take up room and transistors - when those things are at a premium, you use fewer registers. Then Moore's law magically lets you use more so you do!
[ Parent
| on HN ]
It's not so much the registers themselves, it's the plumbing required if you're going to let any register supply any input or output of the ALU. Hardwiring a register to one of the ALU's ports means you avoid a multiplexer (and the same applies to hardwiring a register to the AGU's ports, which is how you get 'base' and 'index' type registers).
Sure, there are lots and lots of deeper details but fundamentally, more registers means more transistors (or a higher-level logical unit of choice) and it's the constraint that drives accumulator-centric designs, specialized registers, etc. Relax the constraint and they become less necessary.