Module
Branch Prediction and Control Flow
Sign in to add this module to your path and practice.
About
Why branches hurt pipelines; 1-bit/2-bit predictors, BTB intuition, and compiler/ISA assists (branch delay, predication overview).
Goal
Simulate simple branch predictors on traces; calculate misprediction penalty impact; choose appropriate prediction strategy for a given workload mix.
Unlocks
Tutor
Ask questions about this module.
Hi — I'm your tutor for Branch Prediction and Control Flow. Ask about the concepts, goal, or where you're stuck.