Skip to Main content Skip to Navigation
Conference papers

Fast Instruction Set Simulation Using LLVM-based Dynamic Translation

Vania Joloboff 1 Xinlei Zhou Claude Helmstetter 1 Xiaopeng Gao 
1 FORMES - Formal Methods for Embedded Systems
LIAMA - Laboratoire Franco-Chinois d'Informatique, d'Automatique et de Mathématiques Appliquées, Inria Paris-Rocquencourt
Abstract : In the development of embedded systems, Instruction-Set Simulators (ISS) plays an important role. When using an ISS, simulation speed is a significant issue. In this paper, we present a dynamic translation technique that uses the LLVM open-source compiler infrastructure to increase the simulation speed. Our dynamic translation technique translates hot basic blocks of the target instruction set into LLVM bitcode, and compiles LLVM bitcode into host binary code using the LLVM Just-In-Time (JIT) compiler. We have simulated the same programs using LLVM-based dynamic translation and using traditional dynamic translation to compare their performance. The experiments show that the dynamic translation based on LLVM increases simulation speed.
Document type :
Conference papers
Complete list of metadata
Contributor : Vania Joloboff Connect in order to contact the contributor
Submitted on : Thursday, December 1, 2011 - 8:22:24 AM
Last modification on : Friday, February 4, 2022 - 3:10:09 AM


  • HAL Id : hal-00646947, version 1



Vania Joloboff, Xinlei Zhou, Claude Helmstetter, Xiaopeng Gao. Fast Instruction Set Simulation Using LLVM-based Dynamic Translation. International MultiConference of Engineers and Computer Scientists 2011, IAENG, Mar 2011, Hong Kong, China. pp.212-216. ⟨hal-00646947⟩



Record views