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.
Similar content being viewed by others
References
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).
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).
Scott McFarling, Combining Branch Predictors. Technical Report TN-36, Digital Western Research Laboratory (June 1993).
L. Gwennap, Digital 21264 Sets New Standard,Microprocessor Report, pp. 11–16 (October 1996).
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).
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).
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.
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).
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).
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).
Author information
Authors and Affiliations
Rights 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
Issue Date:
DOI: https://doi.org/10.1007/BF02699882