Recap
- True register renaming via
Dynamic scheduling/OoO
- Dispatch instruction in-order but execute as soon as inputs are ready
- Insturction window: examine large number of instructions
- Hardware tries to find independent instructions
- Tomasulo uses copy-based register renaming to eliminate WAR/WAW dependencies
Now: register renaming
- True register renaming + ROB = MIPSR10K design
Speculation and Precise Interrupts
Sequential (vN) semantics for interrupts
- All instructions before interrupt should complete
- All instructions after interrupt should look as if they never started
- Basically want the same thing for mispredicted branch!
What makes precise interrupts difficult?
- OoO completion -> must undo post-interrupt writebacks
- Same for branches!
- In-order: branch complete before younger instructions writeback
- OoO: not necessary