Fast Instruction Set Simulation Using LLVM-based Dynamic Translation - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2011

Fast Instruction Set Simulation Using LLVM-based Dynamic Translation

Vania Joloboff
Xinlei Zhou
  • Function : Author
Xiaopeng Gao
  • Function : Author

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.
No file

Dates and versions

hal-00646947 , version 1 (01-12-2011)

Identifiers

  • HAL Id : hal-00646947 , version 1

Cite

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⟩
411 View
0 Download

Share

Gmail Facebook X LinkedIn More