YUNOVA · Computer Organisation & Architecture · Module 11: Advanced processor design
Branch prediction
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.