What is Branch prediction?

A technique that predicts the outcome of conditional branches before they execute, so later instructions can proceed without stalling the pipeline. A misprediction forces the work to be redone.

Field: CPUs and architecture

Branch prediction in the explanations

Questions that mention Branch prediction (3)

  1. What is the purpose of branch prediction in a CPU?
  2. What is the main purpose of pipelining in a CPU?
  3. Which metric indicates the number of instructions executed per clock?

Related terms

Pipelining IPC Superscalar Out-of-order execution Amdahl's law Cache coherency Cache memory DMA (direct memory access) DVFS (dynamic voltage and frequency scaling) GPU

Back to the glossary