• DocumentCode
    3717068
  • Title

    Efficient dual-ISA support in a retargetable, asynchronous Dynamic Binary Translator

  • Author

    Tom Spink;Harry Wagstaff;Bj?rn Franke;Nigel Topham

  • Author_Institution
    Institute for Computing Systems Architecture, School of Informatics, University of Edinburgh, UK
  • fYear
    2015
  • fDate
    7/1/2015 12:00:00 AM
  • Firstpage
    103
  • Lastpage
    112
  • Abstract
    Dynamic Binary Translation (DBT) allows software compiled for one Instruction Set Architecture (ISA) to be executed on a processor supporting a different ISA. Some modern DBT systems decouple their main execution loop from the built-in Just-In-Time (JIT) compiler, i.e. the JIT compiler can operate asynchronously in a different thread without blocking program execution. However, this creates a problem for target architectures with dual-ISA support such as ARM/THUMB, where the ISA of the currently executed instruction stream may be different to the one processed by the JIT compiler due to their decoupled operation and dynamic mode changes. In this paper we present a new approach for dual-ISA support in such an asynchronous DBT system, which integrates ISA mode tracking and hot-swapping of software instruction decoders. We demonstrate how this can be achieved in a retargetable DBT system, where the target ISA is not hard-coded, but a processor-specific module is generated from a high-level architecture description. We have implemented ARM V5T support in our DBT and demonstrate execution rates of up to 1148 MIPS for the SPEC CPU 2006 benchmarks compiled for ARM/THUMB, achieving on average 192%, and up to 323%, of the speed of QEMU, which has been subject to intensive manual performance tuning and requires significant low-level effort for retargeting.
  • Keywords
    "Thumb","Decoding","Computer architecture","Computational modeling","Target tracking","Instruction sets","Registers"
  • Publisher
    ieee
  • Conference_Titel
    Embedded Computer Systems: Architectures, Modeling, and Simulation (SAMOS), 2015 International Conference on
  • Type

    conf

  • DOI
    10.1109/SAMOS.2015.7363665
  • Filename
    7363665