YUNOVA · Computer Organisation & Architecture
Module 11: Advanced processor design
Superscalar processors and instruction-level parallelism
Key points
- A superscalar processor issues more than one instruction per clock cycle.
- Instruction-level parallelism is limited by data, control and resource dependences.
- Ideal CPI for an n-way superscalar processor is 1/n.
Branch prediction
Key points
- Branch prediction guesses the branch outcome so the pipeline keeps fetching.
- Static schemes use a fixed rule; dynamic schemes learn from history.
- A 2-bit saturating counter changes its prediction only after two wrong guesses.
Out-of-order execution and Tomasulo algorithm
Key points
- Out-of-order execution runs instructions as soon as their operands are ready.
- Tomasulo uses reservation stations and register renaming to remove WAR and WAW hazards.
- Results are broadcast on the common data bus to waiting instructions.
Vector processors, SIMD and GPUs
Key points
- SIMD applies one instruction to many data elements at once.
- Vector processors operate on whole vector registers with one instruction.
- GPUs run thousands of threads in groups that execute the same instruction.