skip to main content
article

Aliasing and anti-aliasing in branch history table prediction

Published:01 December 2003Publication History
Skip Abstract Section

Abstract

Branch history table (BHT) prediction is a simple and effective method of predicting branch direction at run-time in a microprocessor. Unfortunately, this method suffers from performance limitations due to aliasing, which is when more than one branch uses a single entry in the branch history table. Theoretically, for programs that exhibit pseudo-random branch positioning, aliasing can be predicted and reduced, thereby improving performance. In this paper, we develop a probabilistic model for aliasing and "anti-aliasing", and we use SimpleScalar to explore the extent to which "anti-aliasing" is useful in real programs. Our results show that programs can be "anti-aliased" to some extent when using history tables of 256 entries or greater, and that for large enough history tables, a significant percentage of table entries are unused and available for "anti-aliasing."

References

  1. John L. Hennessy, David A. Patterson. Computer Architecture: A Quantitative Approach. 3rd ed. MKP 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Todd Austin. SimpleScalar LLC Website (www.simplescalar.com), December 2002.Google ScholarGoogle Scholar
  3. Andre Seznec. Design Tradeoffs for the Alpha EV8 Conditional Branch Predictor. Proceedings of the 29th Annual International Symposium on Computer Architecture, pp. 295--306, May 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in

Full Access

  • Published in

    cover image ACM SIGARCH Computer Architecture News
    ACM SIGARCH Computer Architecture News  Volume 31, Issue 5
    December 2003
    21 pages
    ISSN:0163-5964
    DOI:10.1145/966809
    Issue’s Table of Contents

    Copyright © 2003 Authors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    • Published: 1 December 2003

    Check for updates

    Qualifiers

    • article
  • Article Metrics

    • Downloads (Last 12 months)62
    • Downloads (Last 6 weeks)7

    Other Metrics

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader