Skip to main content

Confidence Estimation for Branch Prediction Reversal

  • Conference paper
  • First Online:
High Performance Computing — HiPC 2001 (HiPC 2001)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2228))

Included in the following conference series:

Abstract

Branch prediction reversal has been proved to be an effective alternative approach to dropping misprediction rates by means of adding a Confidence Estimator to a correlating branch predictor. This paper presents a Branch Prediction Reversal Unit (BPRU) especially oriented to enhance correlating branch predictors, such as the gshare and the Alpha 21264 metapredictor. The novelty of this proposal lies on the inclusion of data values in the confidence estimation process. Confidence metrics show that the BPRU can correctly tag 43% of branch mispredictions as low confident predictions, whereas the SBI (a previously proposed estimator) just detects 26%. Using the BPRU to reverse the gshare branch predictions leads to misprediction reductions of 15% for the SPECint2000 (up to 27% for some applications). Furthermore, the BPRU+gshare predictor reduces the misprediction rate of the SBI+gshare by an average factor of 10%. Performance evaluation of the BPRU in a superscalar processor obtains speedups of up to 9%. Similar results are obtained when the BPRU is combined with the Alpha 21264 branch predictor.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Aragón, J.L., González, J., García, J.M., González, A.: Selective Branch Prediction Reversal by Correlating with Data Values and Control Flow. In: Proceedings of the Int. Conf. on Computer Design. (2001)

    Google Scholar 

  2. Burger, D., Austin, T.M.: The SimpleScalar Tool Set, Version 2.0. Technical Report #1342, University of Wisconsing-Madison, Computer Sciences Department. (1997)

    Google Scholar 

  3. Chang, P.Y., Evers, M., Patt, Y.N.: Improving Branch Prediction Accuracy by Reducing Pattern History Table Interference. In: Proceedings of the Int. Conf. on Parallel Architectures and Compilation Techniques. (1996)

    Google Scholar 

  4. Chang, P.Y., Hao, E., Patt., Y.N.: Alternative implementations of Hybrid Branch Predictors. In: Proceedings of the Int. Symp. on Microarchitecture. (1995)

    Google Scholar 

  5. Gabbay, F., Mendelson, A.: Speculative Execution Based on Value Prediction. Technical Report #1080, Technion, Electrical Engineering Department. (1996)

    Google Scholar 

  6. Glaskowsky, P.N.: Pentium 4 (Partially) Previewed. Microprocessor Report, Microdesign Resources. (August 2000)

    Google Scholar 

  7. González, J., González, A.: Control-Flow Speculation through Value Prediction for Superscalar Processors. In: Proc. of the Int. Conf. on Parallel Arch. and Comp. Tech. (1999)

    Google Scholar 

  8. Grunwald, D., Klauser, A., Manne, S., Pleszkun, A.: Confidence Estimation for Speculation Control. In: Proceedings of the Int. Symp. on Computer Architecture. (1998)

    Google Scholar 

  9. Heil, T.H., Smith, Z., Smith, J.E.: Improving Branch Predictors by Correlating on Data Values. In: Proceedings of the Int. Symp. on Microarchitecture. (1999)

    Google Scholar 

  10. Jacobsen, E., Rotenberg, E., Smith, J.E.: Assigning Confidence to Conditional Branch Predictions. In: Proceedings of the Int. Symp. on Microarchitecture. (1996)

    Google Scholar 

  11. Kessler, R.E., McLellan, E.J., Webb, D.A.: The Alpha 21264 Microprocessor Architecture. In: Proceedings of the Int. Conf. on Computer Design. (1998)

    Google Scholar 

  12. Lee, C.C., Chen, I.C.K., Mudge, T.N.: The Bi-Mode Branch Predictor. In: Proceedings of the Int. Symp. on Microarchitecture. (1996)

    Google Scholar 

  13. Manne, S., Klauser, A., Grunwald, D.: Branch Prediction using Selective Branch Inversion. In: Proc. of the Int. Conf. on Parallel Architectures and Compilation Techniques. (1999)

    Google Scholar 

  14. McFarling, S.: Combining Branch Predictors. Technical Report #TN-36, Digital Western Research Lab. (1993)

    Google Scholar 

  15. Nair, R.: Dynamic Path-Based Branch Correlation. In: Proceedings of the Int. Symp. on Microarchitecture. (1995)

    Google Scholar 

  16. Smith, J.E.: A Study of Branch Prediction Strategies. In: Proceedings of the Int. Symp. on Computer Architecture. (1981)

    Google Scholar 

  17. Yeh, T.Y., Patt, Y.N.: A Comparison of Dynamic Branch Predictors that Use Two Levels of Branch History. In: Proceedings of the Int. Symp. on Computer Architecture. (1993)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2001 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Aragón, J.L., González, J., García, J.M., González, A. (2001). Confidence Estimation for Branch Prediction Reversal. In: Monien, B., Prasanna, V.K., Vajapeyam, S. (eds) High Performance Computing — HiPC 2001. HiPC 2001. Lecture Notes in Computer Science, vol 2228. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45307-5_19

Download citation

  • DOI: https://doi.org/10.1007/3-540-45307-5_19

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-43009-4

  • Online ISBN: 978-3-540-45307-9

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics