Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3125502.3125550acmotherconferencesArticle/Chapter ViewAbstractPublication PagesesweekConference Proceedingsconference-collections
research-article

IR-level annotation strategy dealing with aggressive loop optimizations for performance estimation in native simulation: work-in-progress

Published: 15 October 2017 Publication History

Abstract

Originally developed for purely functional verification of software, native or host compiled simulation [6] has gained momentum, thanks to its considerable speedup compared to instruction set simulation (ISS). To obtain a performance model of the software, non-functional information is computed from the target binary code using low-level analysis and back-annotated into the high-level code used to generate it. This annotated functional model is then natively compiled and executed on the host machine for fast software timing [8] estimations. Back-annotating at the right place needs a mapping between the binary instructions and the high-level code statements. So, it is necessary to decide at which stage of the software compilation process the information is back-annotated. There are three possibilities: in the original source code ([7]), in the host binary code ([3]), or in the compiler intermediate representation (IR) ([8], [2]). As compilers perform many optimizations to enhance software performance, the source code and the binary code structures may be radically different.
In this work, we define a mapping approach between the compiler's IR and the binary control flow graph (CFG) when a high-level of compiler optimizations (eg. O3 in gcc) is used. Our approach handles aggressive compiler optimizations such as loop unrolling without having to introduce any modification to the compiler.

References

[1]
Benoît Dupont de Dinechin, Renaud Ayrignac, and Pierre-Edouard Beaucamps. 2013. A clustered manycore processor architecture for embedded and accelerated applications. In High Performance Extreme Computing Conference. IEEE, 1--6.
[2]
A. Gerstlauer, S. Charkravarty, and Z. Zhao. 2013. Automated, retargetable back-annotation for host compiled performance and power modeling. In International Conference on Hardware/Software Codesign and System Synthesis. 1--10.
[3]
M. T. Lazarescu, J. R. Bammi, E. Harcourt, L. Lavagno, and M. Lajolo. 2000. Compilation-based software performance estimation for system level design. In International High-Level Design Validation and Test Workshop. IEEE, 167--172.
[4]
Omayma Matoussi and Frédéric Pétrot. 2016. Loop Aware IR-Level Annotation Framework for Performance Estimation in Native Simulation. In ASP-DAC. IEEE.
[5]
Louis-Noël Pouchet. 2017. Polybench Benchmark. http://web.cse.ohio-state.edu/pouchet/software/polybench/ (2017).
[6]
F. Pétrot, N. Fournel, P. Gerin, M. Gligor, M. Hamayun, and H. Shen. 2011. On mpsoc software execution at the transaction level. IEEE design and test of computers 28, 3 (2011), 32--43.
[7]
S. Stattelmann, O. Bringmann, and W. Rosenstiel. 2011. Dominator Homomorphism Based Code Matching for Source-Level Simulation of Embedded Software. In International Conference on Hardware/Software Codesign and System Synthesis.
[8]
W. Zhonglei and A. Herkersdorf. 2009. An efficient approach for system-level timing simulation of compiler-optimized embedded software. DAC (2009).

Cited By

View all
  • (2019)Accelerating Host-Compiled Simulation by Modifying IR Code: Industrial application in the spatial domain2019 XXXIV Conference on Design of Circuits and Integrated Systems (DCIS)10.1109/DCIS201949030.2019.8959846(1-6)Online publication date: Nov-2019

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Other conferences
CODES '17: Proceedings of the Twelfth IEEE/ACM/IFIP International Conference on Hardware/Software Codesign and System Synthesis Companion
October 2017
84 pages
ISBN:9781450351850
DOI:10.1145/3125502
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]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 15 October 2017

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Research-article

Conference

ESWEEK'17
ESWEEK'17: THIRTEENTH EMBEDDED SYSTEM WEEK
October 15 - 20, 2017
Seoul, Republic of Korea

Acceptance Rates

Overall Acceptance Rate 280 of 864 submissions, 32%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)1
  • Downloads (Last 6 weeks)0
Reflects downloads up to 06 Oct 2024

Other Metrics

Citations

Cited By

View all
  • (2019)Accelerating Host-Compiled Simulation by Modifying IR Code: Industrial application in the spatial domain2019 XXXIV Conference on Design of Circuits and Integrated Systems (DCIS)10.1109/DCIS201949030.2019.8959846(1-6)Online publication date: Nov-2019

View Options

Get Access

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