Branch prediction (source code)

= Branch prediction
{wiki}

Predicting a branch's continuation before its outcome is known, allowing instruction fetch and potentially execution to proceed. An incorrect prediction requires recovery of younger speculative work.