• DocumentCode
    3732317
  • Title

    SIMD Code Translation in an Enhanced HQEMU

  • Author

    Sheng-Yu Fu;Ding-Yong Hong;Jan-Jan Wu;Pangfeng Liu;Wei-Chung Hsu

  • Author_Institution
    Dept. of Comput. Sci. &
  • fYear
    2015
  • Firstpage
    507
  • Lastpage
    514
  • Abstract
    HQEMU is a multi-threaded and retargetable dynamic binary translator built on top of QEMU and LLVM. It combines the fast and reliable code translation in the TCG (Tiny Code Generator) of QEMU and the rich optimizations in LLVM to achieve high performance for both short running and long running applications. One weakness of HQEMU lies in the lack of efficient SIMD instruction translation. This work investigates on how to remedy that. Two approaches have been designed and tested. One simple approach is to modify the help function to emit LLVM vector IR, and a more complete approach is to add a newly introduced vector IR in the TCG phase. Although both approaches can exploit the SIMD instructions of the host machine, the second and more complete approach has superior runtime as well as compile time advantages.
  • Keywords
    "Optimization","Neon","Runtime","Emulation","Benchmark testing","Switches","Generators"
  • Publisher
    ieee
  • Conference_Titel
    Parallel and Distributed Systems (ICPADS), 2015 IEEE 21st International Conference on
  • Electronic_ISBN
    1521-9097
  • Type

    conf

  • DOI
    10.1109/ICPADS.2015.70
  • Filename
    7384333