Branch Prediction's 95%+ Accuracy Record

Modern CPUs achieve over 95% accuracy in guessing conditional branch outcomes, critically preventing pipeline stalls in deep pipelines (10-20+ stages) and significantly boosting performance.

The top 3

  1. Two-Level Adaptive Predictors: The 97% Accuracy Breakthrough: Introduced by Yeh and Patt, two-level adaptive branch predictors achieved approximately 97% accuracy on SPEC benchmarks, representing over a 100% improvement in reducing pipeline flushes compared to earlier dynamic prediction schemes by effectively utilizing both local and global branch histories.
  2. TAGE Predictor: State-of-the-Art with Tagged Geometric History: The TAGE (Tagged GEometric History Length) branch predictor, which has won multiple branch predictor competitions, achieves its superior accuracy by employing partially tagged entries and utilizing multiple history lengths to effectively manage complex branch scenarios and reduce aliasing.
  3. Sorted Data: Branch Prediction's 6x Loop Speedup: High branch prediction accuracy can significantly boost performance; for example, sorting data prior to processing can make loops run up to 6 times faster by enabling the CPU to confidently predict branch outcomes with approximately 95% accuracy.

Sources

Open the full topic