Skip to main content
Log in

Improving branch prediction accuracy by reducing pattern history table interference

  • Published:
International Journal of Parallel Programming Aims and scope Submit manuscript

Abstract

A deeply pipelined superscalar processor needs an accurate branch predictor in order to approach its performance potential. The 2-level branch predictors have been shown to achieve high prediction accuracy, yet they still suffer a significant number of mispredictions. It has been shown that a number of these mispredictions are due to interference in the pattern history tables. This paper details a method for reducing the amount of pattern history table interference by dynamically identifying some easily predictable branches and inhibiting the pattern history table update for these branches. We show that inhibiting the update in this manner reduces the amount of destructive interference in the global history variation of the 2-level branch predictor, resulting in significantly improved branch prediction accuracy for the SPEC 95 benchmarks. For example, for a 2 K Byte gshare predictor, we eliminate 38% of the mispredictions for the gcc benchmark.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Tse-Yu Yeh and Yale N. Patt, Two-Level Adaptive Branch Prediction,Proc. 24th Ann. ACM/IEEE Int’l. Symposiums Microarchitecture, pp. 51–61 (1991).

  2. Tse-Yu Yeh and Yale N. Patt, Alternative Implementations of Two-level Adaptive Branch Prediction,Proc. 19th Ann. Int’l. Symposium Computer Architecture, pp. 124–134 (1992).

  3. Scott McFarling, Combining Branch Predictors. Technical Report TN-36, Digital Western Research Laboratory (June 1993).

  4. L. Gwennap, Digital 21264 Sets New Standard,Microprocessor Report, pp. 11–16 (October 1996).

  5. Adam R. Talcott, Mario Nemirovsky, and Roger C. Wood, The Influence of Branch Prediction Table Interference on Branch Prediction Scheme Performance,Int’l. Conf. Parallel Architectures and Compilation Techniques (1995).

  6. C. Young, N. Gloy, and M. D. Smith, A Comparative Analysis of Schemes for Correlated Branch Prediction,Proc. 22st Ann. Int’l. Symp. Computer Architecture, pp. 276–286 (1995).

  7. Po-Yung Chang, Eric Hao, Tse-Yu Yeh, and Yale N. Patt, Branch Classification: A New Mechanism for Improving Branch Predictor Performance,Proc. 27th Ann. ACM/IEEE Int’l. Symp. Microarchitecture, pp. 22–31 (1994). A version of this paper has been accepted for publication in a special issue of Int’l. J. P. Pr.

  8. Po-Yung Chang, Marius Evers, and Yale N. Patt, Improving Branch Prediction Accuracy by Reducing Pattern History Table Interference,Int’l. Conf. Parallel Architectures and Compilation Techniques (1996).

  9. S. Sechrest, C.-C. Lee, and T. Mudge, The Role of Adaptivity in Two-Level Adaptive Branch Prediction,Proc. 28th Ann. ACM/IEEE Int’l. Symp. Microarchitecture (1995).

  10. Tse-Yu Yeh and Yale N. Patt. A Comparison of Dynamic Branch Predictors that Use Two Levels of Branch History,Proc. 20th Ann, Int’l. Symposium on Computer Architecture, pp. 257–266 (1993).

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Chang, PY., Evers, M. & Patt, Y.N. Improving branch prediction accuracy by reducing pattern history table interference. Int J Parallel Prog 25, 339–362 (1997). https://doi.org/10.1007/BF02699882

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF02699882

Key words