3 ms·
So, how was that 20 year nap you just woke up from? That's pretty much the way everyone does it now, and has been for some time. The central lesson of RISC is
by dbcurtis 10y ago
So, how was that 20 year nap you just woke up from? That's pretty much the way everyone does it now, and has been for some time.
The central lesson of RISC is not "fewer, simpler instructions is good", it is "let the compiler do what it does well, and let the hardware do what it does well." The increase in available silicon has been moving that boundary for many years. Ever since we finally had enough silicon to implement out-of-order execution with synchronous exceptions, for example, register allocation is no longer a problem to be solved in the compiler.
Classic RISC only made sense when available bandwidth to main memory was at rough parity with on-die memory bandwidth. Those days were brief. But the idea of intelligently dividing optimization tasks between the CPU and the compiler is a timeless idea. The optimal implementation, however, is a function of available technology on both sides.