4 ms·
> RISC vs CISC harkens back to the days before the "best architecture" was known RISC isn't the "best architecture" in context. CISC designs stem from days wh
by ajross 7y ago
> RISC vs CISC harkens back to the days before the "best architecture" was known
RISC isn't the "best architecture" in context. CISC designs stem from days when CPUs were extremely transistor-limited:
* They might have only one ALU, and need to multiplex it cyclewise between, say, the IP increment and instruction operation. Or it might be half width and they need to multiplex it timewise to complete an operation.
* They might have only a few kb of SRAM to store code, so code density matters more and pipelined load/store architectures with all their orthogonal operations are too expensive.
* Likewise they might choose a two-operand instruction encoding to better compact code.
* They might not be able to dedicate transistors to a huge register store to cache all those loaded values and need a way to cheaply operate directly on memory to avoid extra spill/fills.
Basically it's easy to look back on RISC as the "obvious" way to get a CPU to be able to use all its diverse hardware more reliably by pipelining operations so nothing is ever idle. But in order for that to be a requirement you have to have all that diverse hardware. CISC ISAs were designed for architectures where that wasn't even an option.