Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/2463209.2488760acmconferencesArticle/Chapter ViewAbstractPublication PagesdacConference Proceedingsconference-collections
research-article

Early partial evaluation in a JIT-compiled, retargetable instruction set simulator generated from a high-level architecture description

Published: 29 May 2013 Publication History

Abstract

Modern processor design tools integrate in their workflows generators for instruction set simulators (Iss) from architecture descriptions. Whilst these generated simulators are useful for design evaluation and software development, they suffer from poor performance. We present an ultra-fast Jit-compiled Iss generated from an ArchC description. We also introduce a novel partial evaluation optimisation, which further improves Jit compilation time and code quality. This results in a simulation rate of 510Mips for an Arm target across 45 Eembc and Spec benchmarks. On average, our Iss is 1.7 times faster than Simit-Arm, one of the fastest Iss generated from an architecture description.

References

[1]
R. Azevedo, S. Rigo, M. Bartholomeu, G. Araujo, C. Araujo, and E. Barros. The ArchC architecture description language and tools. Int. J. Parallel Program., 33(5):453--484, Oct. 2005.
[2]
F. Bellard. QEMU, a fast and portable dynamic translator. In Proceedings of the Annual Conference on USENIX, ATEC '05, pages 41--41, Berkeley, CA, USA, 2005. USENIX Association.
[3]
F. Blanqui, C. Helmstetter, V. Joloboff, J.-F. Monin, and X. Shi. Designing a CPU model: from a pseudo-formal document to fast code. CoRR, abs/1109.4351, 2011.
[4]
I. Böhm, T. J. Edler von Koch, S. C. Kyle, B. Franke, and N. Topham. Generalized just-in-time trace compilation using a parallel task farm in a dynamic binary translator. In Proceedings of the 32nd ACM SIGPLAN Conference on Programming Language Design and Implementation, PLDI '11, pages 74--85, New York, NY, USA, 2011. ACM.
[5]
I. Böhm, B. Franke, and N. Topham. Cycle-accurate performance modelling in an ultra-fast just-in-time dynamic binary translation instruction set simulator. In 2010 International Conference on Embedded Computer Systems (SAMOS), pages 1--10, July 2010.
[6]
C. F. Bolz, A. Cuni, M. Fijalkowski, M. Leuschel, S. Pedroni, and A. Rigo. Allocation removal by partial evaluation in a tracing JIT. In Proceedings of the 20th ACM SIGPLAN Workshop on Partial Evaluation and Program Manipulation, PEPM '11, pages 43--52, New York, NY, USA, 2011. ACM.
[7]
F. Brandner, A. Fellnhofer, A. Krall, and D. Riegler. Fast and accurate simulation using the LLVM compiler framework. In 1st Workshop on Rapid Simulation and Performance Evaluation: Methods and Tools (RAPIDO), January 2009.
[8]
C. Consel and O. Danvy. Tutorial notes on partial evaluation. In Proceedings of the 20th ACM SIG PLAN-SIG ACT Symposium on Principles of Programming Languages, POPL '93, pages 493--501, New York, NY, USA, 1993. ACM.
[9]
J. Lee, J. Kim, C. Jang, S. Kim, B. Egger, K. Kim, and S. Han. FaCSim: a fast and cycle-accurate architecture simulator for embedded systems. In Proceedings of the 2008 ACM SIGPLAN-SIGBED Conference on Languages, Compilers, and Tools for Embedded Systems, LCTES '08, pages 89--100, New York, NY, USA, 2008. ACM.
[10]
R. Leupers, J. Elste, and B. Landwehr. Generation of interpretive and compiled instruction set simulators. In Proceedings of the Asia and South Pacific Design Automation Conference (ASP-DAC '99), pages 339--342 vol.1, jan 1999.
[11]
W. Qin and S. Malik. Flexible and formal modeling of microprocessors with application to retargetable simulation. In Proceedings of the Xonference on Design, Automation and Test in Europe - Volume 1, DATE '03, pages 10556--, Washington, DC, USA, 2003. IEEE Computer Society.
[12]
J. Song, H. Hao, C. Helmstetter, and V. Joloboff. Generation of executable representation for processor simulation with dynamic translation. In 2008 International Conference on Computer Science and Software Engineering, volume 4, pages 106--109, dec. 2008.
[13]
Synopsys. Processor Designer. www.synopsys.com.
[14]
Target Compiler Technologies. IP Designer. www.retarget.com.

Cited By

View all
  • (2021)ARINC653 Channel Robustness Verification Using LeonViP-MC, a LEON4 Multicore Virtual PlatformElectronics10.3390/electronics1010117910:10(1179)Online publication date: 15-May-2021
  • (2021)Domain-specific programming assistance in an embedded DSL for generating processor emulatorsProceedings of the 36th Annual ACM Symposium on Applied Computing10.1145/3412841.3442000(1256-1264)Online publication date: 22-Mar-2021
  • (2020)CrowdPrivacyACM Transactions on Privacy and Security10.1145/337575223:1(1-25)Online publication date: 5-Feb-2020
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
DAC '13: Proceedings of the 50th Annual Design Automation Conference
May 2013
1285 pages
ISBN:9781450320719
DOI:10.1145/2463209
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

In-Cooperation

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 29 May 2013

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Research-article

Conference

DAC '13
Sponsor:

Acceptance Rates

Overall Acceptance Rate 1,770 of 5,499 submissions, 32%

Upcoming Conference

DAC '25
62nd ACM/IEEE Design Automation Conference
June 22 - 26, 2025
San Francisco , CA , USA

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)4
  • Downloads (Last 6 weeks)0
Reflects downloads up to 13 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2021)ARINC653 Channel Robustness Verification Using LeonViP-MC, a LEON4 Multicore Virtual PlatformElectronics10.3390/electronics1010117910:10(1179)Online publication date: 15-May-2021
  • (2021)Domain-specific programming assistance in an embedded DSL for generating processor emulatorsProceedings of the 36th Annual ACM Symposium on Applied Computing10.1145/3412841.3442000(1256-1264)Online publication date: 22-Mar-2021
  • (2020)CrowdPrivacyACM Transactions on Privacy and Security10.1145/337575223:1(1-25)Online publication date: 5-Feb-2020
  • (2020)The Dilemma of User Engagement in Privacy NoticesACM Transactions on Privacy and Security10.1145/337229623:1(1-38)Online publication date: 8-Feb-2020
  • (2019)A retargetable system-level DBT hypervisorProceedings of the 2019 USENIX Conference on Usenix Annual Technical Conference10.5555/3358807.3358850(505-520)Online publication date: 10-Jul-2019
  • (2019)Full-System Simulation of Mobile CPU/GPU Platforms2019 IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS)10.1109/ISPASS.2019.00015(68-78)Online publication date: Mar-2019
  • (2018)Navigating the Landscape for Real-Time Localization and Mapping for Robotics and Virtual and Augmented RealityProceedings of the IEEE10.1109/JPROC.2018.2856739106:11(2020-2039)Online publication date: Nov-2018
  • (2017)Polymorphic Manifest Contracts, Revised and ResolvedACM Transactions on Programming Languages and Systems10.1145/299459439:1(1-36)Online publication date: 6-Feb-2017
  • (2017)The Case for Flexible ISAs: Unleashing Hardware and Software2017 29th International Symposium on Computer Architecture and High Performance Computing (SBAC-PAD)10.1109/SBAC-PAD.2017.16(65-72)Online publication date: Oct-2017
  • (2017)SimBench: A portable benchmarking methodology for full-system simulators2017 IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS)10.1109/ISPASS.2017.7975293(217-226)Online publication date: Apr-2017
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media