Selective Branch Inversion: Confidence Estimation for Branch Predictors

  • Authors:
  • Artur Klauser;Srilatha Manne;Dirk Grunwald

  • Affiliations:
  • Compaq Computer Corporation, Alpha Advanced Development Group, 334 South Street, SHR3-2/R28 Shrewsbury, Massachusetts 01545. {Artur.Klauser,Srilatha.Manne}@compaq.com;Compaq Computer Corporation, Alpha Advanced Development Group, 334 South Street, SHR3-2/R28 Shrewsbury, Massachusetts 01545. {Artur.Klauser,Srilatha.Manne}@compaq.com;University of Colorado at Boulder, Department of Computer Science, Campus Box 430, Boulder, Colorado 80309-0430. grunwald@cs.colorado.edu

  • Venue:
  • International Journal of Parallel Programming
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper describes a family of branch predictors that use confidence estimation to improve the performance of an underlying branch predictor. This method, referred to as Selective Branch Inversion (SBI), uses a confidence estimator to determine when the branch direction prediction is likely to be incorrect; branch decisions for these low-confidence branches are inverted. SBI with an underlying Gshare branch predictor outperforms other equal sized predictors such as the best history length Gshare predictor, as well as equally complex McFarling and Bi-Mode predictors. Our analysis shows that SBI achieves its performance through conflict detection and correction, rather than through conflict avoidance as some of the previously proposed predictors such as Bi-Mode and Agree. We also show that SBI is applicable to other underlying predictors, such as the McFarling Combined predictor. Finally we show that Dynamic Inversion Monitoring (DIM) can be used as a safeguard to turn off SBI in cases where it degrades the overall performance.