Hyperchaining Optimizations for an LLVM-Based Binary Translator on x86-64 and RISC-V Platforms
Authors:
Open Access
- 9 August 2021
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1-9
Abstract
Rabbit is an LLVM-based hybrid binary translator with many diverse optimizations to improve the performance. In addition to platform-independent hyperchaining (indep), Rabbit also includes platform-dependent hyperchaining (dep) on both x86-64 and RISC-V architectures for both direct and indirect branches. The dep optimizations leverage architecture-specific instructions and patches to achieve the same effect as the indep optimiztion but gains more performance improvement. The experimental results show that the platform-dependent hyperchaining can achieve 1.08x and 1.05x speedup in comparison with platform-independent hyperchaining for direct and indirect branches, respectively. The experimental results also show that platform-dependent hyperchaining incurs little memory space overhead in comparison with platform-independent hyperchaining.Keywords
This publication has 6 references indexed in Scilit:
- Translating AArch64 Floating-Point Instruction Set to the x86-64 Platform2019
- On Static Binary Translation of ARM/Thumb Mixed ISA BinariesACM Transactions on Embedded Computing Systems, 2017
- Optimizing Indirect Branches in Dynamic Binary TranslatorsACM Transactions on Architecture and Code Optimization, 2016
- A Retargetable Static Binary Translator for the ARM ArchitectureACM Transactions on Architecture and Code Optimization, 2014
- LLBT2012
- An LLVM-based hybrid binary translation system2012