Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.5555/2755753.2755824acmconferencesArticle/Chapter ViewAbstractPublication PagesdateConference Proceedingsconference-collections
research-article

Fast and accurate branch predictor simulation

Published: 09 March 2015 Publication History

Abstract

The complexity of embedded processors has raised dramatically, due to the addition of architectural add-ons which improve performances significantly. High level models used in system simulation usually ignore these additions as the major issue is functional correctness. However, accurate estimates of software execution is sometimes required, therefore we focus in this paper on one of theses architectural features, the branch predictor. Unfortunately, advanced branch predictors use large tables, so that models directly implementing these schemes slow down simulation dramatically. To limit the simulation overhead, we define a modeling approach that we demonstrate on a state of the art predictor. We implemented the model in a dynamic binary translation based instruction set simulator and measured an accuracy of prediction of about 95% for a run-time overhead of less than 5%.

References

[1]
C.-K. Lo, L.-C. Chen, M.-H. Wu, and R.-S. Tsay, "Cycle-count-accurate processor modeling for fast and accurate system-level simulation," in Proceedings of Design, Automation & Test in Europe Conference & Exhibition, March 2011.
[2]
A. Seznec and P. Michaud, "A case for (partially) tagged geometric history length branch prediction," Journal of Instruction-Level Parallelism, vol. 8, february 2006.
[3]
S. McFarling, "Combining branch predictors," Technical Report TN-36, Digital Western Research Laboratory, Tech. Rep., 1993.
[4]
G. H. Loh, D. S. Henry, and A. Krishnamurthy, "Exploiting bias in the hysteresis bit of 2-bit saturating counters in branch predictors," Journal of Instruction-Level Parallelism, vol. 5, March 2003.
[5]
P. Michaud, "A ppm-like, tag-based branch predictor," Journal of Instruction-Level Parallelism, vol. 7, April 2005.
[6]
R. Wilhelm, J. Engblom, A. Ermedahl, N. Holsti, S. Thesing, D. Whalley, G. Bernat, C. Ferdinand, R. old Heckmann, T. Mitra, F. Mueller, I. Puaut, P. Puschner, J. S. lat, and P. Stenstrom, "The worst-case execution time problem --- overview of methods and survey of tools," ACM Transactions on Embedded Computing Systems, vol. 7, no. 3, April 2008.
[7]
A. R. Xianfend Li and T. Mitra, "Modeling out-of-order processors for software timing analysis," in Proceedings of the 25th IEEE International Real-Time Systems Symposium, december 2004, pp. 92--103.
[8]
A. Colin and I. Puaut, "Worst case execution time analysis for a processor with branch prediction," Journal of Real time Systems, vol. 18, no. 2--3, pp. 249--274, May 2000.
[9]
B. Franke, "Fast cycle-approximate instruction set simulation," in Proceedings of the 11th international workshop on Software & compilers for embedded systems, 2008, pp. 69--78.
[10]
B. Franke and D. C. Powell, "Using continuous statistical machine learning to enable high-speed performance prediction in hybrid instruction/cycle-accurate instruction set simulators," in Proceedings of the 7th IEEE/ACM international conference on Hardware/software codesign and system synthesis, 2009, pp. 315--324.
[11]
X. Li, A. Roychoudhury, and T. Mitra, "Modeling out-of-order processors for wcet analysis," Real-Time Systems, vol. 34, no. 3, pp. 195--227, 2006.
[12]
M. Gligor, N. Fournel, and F. Pétrot, "Using binary translation in event driven simulation for fast and flexible MPSoC simulation," in Proceedings of the 7th IEEE/ACM/IFIP international conference on hardware/software codesign and system synthesis, 2009, pp. 71--80.
[13]
A. Seznec, "The l-tage branch predictor," Journal of Instruction-Level Parallelism, vol. 9, July 2007.

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
DATE '15: Proceedings of the 2015 Design, Automation & Test in Europe Conference & Exhibition
March 2015
1827 pages
ISBN:9783981537048

Sponsors

Publisher

EDA Consortium

San Jose, CA, United States

Publication History

Published: 09 March 2015

Check for updates

Qualifiers

  • Research-article

Conference

DATE '15
Sponsor:
  • EDAA
  • EDAC
  • SIGDA
  • Russian Acadamy of Sciences
DATE '15: Design, Automation and Test in Europe
March 9 - 13, 2015
Grenoble, France

Acceptance Rates

DATE '15 Paper Acceptance Rate 206 of 915 submissions, 23%;
Overall Acceptance Rate 518 of 1,794 submissions, 29%

Upcoming Conference

DATE '25
Design, Automation and Test in Europe
March 31 - April 2, 2025
Lyon , France

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 144
    Total Downloads
  • Downloads (Last 12 months)3
  • Downloads (Last 6 weeks)0
Reflects downloads up to 25 Dec 2024

Other Metrics

Citations

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media