Skip to Main content Skip to Navigation
Conference papers

Fast Dynamic Translation Using LLVM On Multi-Core Hosts

Zhang Zuyu 1 Vania Joloboff 2 Xinlei Zhou 3 Claude Helmstetter 2
2 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 experiments and comparison between several dynamic translation techniques. In addition to an existing technique which serves as a reference, we have developed a new on-the-fly translation technique using the LLVM open-source compiler infrastructure to enhance simulation speed. This dynamic translation technique translates hot basic blocks of the target instruction set into LLVM bitcode, then compiles LLVM bitcode into host binary code using the LLVM Just-In-Time (JIT) compiler. As the translation time using LLVM increases to the detriment of the overall simulation speed, we also present a mixed mode, where only the frequently executed chunks of code are compiled. This translation technique was then extended to support larger translation units compared to the previous, Finally the paper ends with presentation of an orthogonal solution to dispatch dynamic translation to a translation server to take advantage of multi-processor hosts.
Document type :
Conference papers
Complete list of metadata

https://hal.inria.fr/hal-00777156
Contributor : Vania Joloboff <>
Submitted on : Thursday, January 17, 2013 - 2:49:09 AM
Last modification on : Tuesday, March 17, 2020 - 1:40:04 AM

Identifiers

  • HAL Id : hal-00777156, version 1

Collections

Citation

Zhang Zuyu, Vania Joloboff, Xinlei Zhou, Claude Helmstetter. Fast Dynamic Translation Using LLVM On Multi-Core Hosts. 5th Workshop on Architectural and Microarchitectural Support for Binary Translation (AMAS-BT), Intel Corporation, Jun 2012, Portland, Oregon, United States. ⟨hal-00777156⟩

Share

Metrics

Record views

779