Skip to main content

Cached Two-Level Adaptive Branch Predictors with Multiple Stages

  • Conference paper
  • First Online:
Trends in Network and Pervasive Computing — ARCS 2002 (ARCS 2002)

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

Included in the following conference series:

Abstract

In this paper, we quantify the performance of a novel family of multi-stage Two-Level Adaptive Branch Predictors. In each two- level predictor, the PHT of a conventional Two-level Adaptive Branch Predictor is replaced by a Prediction Cache. Unlike a PHT, a Prediction Cache saves only relevant branch prediction information. Furthermore, predictions are never based on uninitialised entries and interference between branches is eliminated. In the case of a Prediction Cache miss in the first stage, our two-stage predictors use a default two-bit prediction counter stored in a second stage. We demonstrate that a two- stage Cached Predictor is more accurate than a conventional two-level predictor and quantify the crucial contribution made by the second prediction stage in achieving this high accuracy. We then extend our Cached Predictor by adding a third stage and demonstrate that a Three- Stage Cached Predictor further improves the accuracy of cached predictors.

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. Yeh, T. and Patt, Y. N.: Two-Level Adaptive Training Branch Prediction, Micro-24, Albuquerque, New Mexico, (1991), 51–61.

    Google Scholar 

  2. Pan, S.; So, K. and Rahmeh, J. T.: Improving the Accuracy of Dynamic Branch Prediction Using Branch Correlation, ASPLOS-V, Boston, (1992), 76–84.

    Google Scholar 

  3. Kessler, R. E.: The Alpha 21264 Microprocessor, IEEE Micro, (1999), 24–36.

    Google Scholar 

  4. Egan, C.: Dynamic Branch Prediction in High Performance Superscalar Processors, PhD thesis, University of Hertfordshire, (2000).

    Google Scholar 

  5. Steven, G. B.; Egan, C.; Quick, P. and Vintan, L.: A Cost Effective Cached Correlated Two-level Adaptive Branch Predictor, 18th IASTED International Conference on Applied Informatics (AI 2000), Innsbruck, (2000).

    Google Scholar 

  6. Yeh, T. and Patt, P.: Alternative Implementations of Two-Level Adaptive Branch Prediction, ISCA-19, Gold Coast, Australia, (1992), 124–134.

    Google Scholar 

  7. Yeh, T. and Patt, Y. N.: A Comparison of Dynamic Branch Predictors that use Two Levels of Branch History, ISCA-20, (1993), 257–266.

    Google Scholar 

  8. McFarling, S.: Combining Branch Predictors, Western Research Laboratories Technical Report TN-36, (1993).

    Google Scholar 

  9. Chang, P., Hao, E., Yeh. T. and Patt, Y. N.: Branch Classification: A New Mechanism for Improving Branch Predictor Performance, Micro-27, San Jose, California, (1994), 22–31.

    Google Scholar 

  10. Lee, C. C., Chen, I. K. and Mudge, T. N.: The Bi-Mode Branch Predictor, Micro-30, Research Triangle Park, North Carolina, (1997), 4–13.

    Google Scholar 

  11. Sprangle, E., Chappell, R. S., Alsup, M. and Patt, Y. N.: The Agree Predictor: A Mechanism for Reducing Negative Branch History Interference, ISCA’ 24, Denver, Colorado, (1997), 284–291.

    Google Scholar 

  12. Chen, I. K., Coffey, J. T. and Mudge, T. N.: Analysis of Branch Prediction via Data Compression, ASPLOS VII, (1996), 128–137.

    Google Scholar 

  13. Steven, G., Anguera, R., Egan, C., Steven, F. and Vintan, L.: Dynamic Branch Prediction Using Neural Networks, DSD 2001, Poland, (2001), 178–185.

    Google Scholar 

  14. Chang, L, Hao E. and Patt, Y. N.: Alternative Implementations of Hybrid Branch Predictors, Micro-29, Ann Arbor, Michigan, (1995), 252–257.

    Google Scholar 

  15. Steven, G. B., Christianson, D. B., Collins, R., Potter, R. D. and Steven, F. L.: A Superscalar Architecture to Exploit Instruction Level Parallelism,Microprocessors and Microsystems, 20 (7), (1997), 391–400.

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2002 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Egan, C., Steven, G., Vintan, L. (2002). Cached Two-Level Adaptive Branch Predictors with Multiple Stages. In: Schmeck, H., Ungerer, T., Wolf, L. (eds) Trends in Network and Pervasive Computing — ARCS 2002. ARCS 2002. Lecture Notes in Computer Science, vol 2299. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45997-9_14

Download citation

  • DOI: https://doi.org/10.1007/3-540-45997-9_14

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-43409-2

  • Online ISBN: 978-3-540-45997-2

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics