EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Performance Improvements via Peephole Optimization in Dynamic Binary Translation

Wenbing Xie, Qiaoling Luo, Xue Tian, Junyi Huang, Fengbin Qi

Electronics · 23.04.2024 · 13 (9) · 1608

DOI: 10.3390/electronics13091608 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Electronics, online erschienen am 23.04.2024. Verfasst von Wenbing Xie und 4 weiteren Autor:innen. Die Arbeit wurde bisher 5-mal zitiert (Crossref) und nennt 43 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

The emergence of new instruction set architectures (ISAs) poses challenges in ensuring compatibility with legacy applications. Dynamic binary translation (DBT) serves as a crucial approach for achieving cross-ISA compatibility, enabling legacy applications to run compatibly with cross-ISAs. However, software-based translation encounters significant performance overhead, including substantial memory access and insufficient exploitation of target architecture features. The significant performance overhead challenges hinder the practical implementation of DBT. In this paper, we investigate a novel peephole optimization approach. First, we perform peephole analysis to identify redundant memory access and suboptimal instruction sequences. Next, we leverage live variable analysis to eliminate redundant memory-access instructions. Additionally, we bridge the gaps between cross-ISAs by exploiting ISA-specific features through instruction fusion. Finally, we implement the proposed optimization design using the open-source QEMU and extensively evaluate it on both ARM64 and SW64 platforms. The experimental results reveal that SPEC2006 benchmark effectively gets a maximum performance speedup of 1.52×, alongside a reduction in code size of up to 13.98%. These results affirm the effectiveness of our optimization approach in DBT performance and code sizes.

Zitieren

APA

Xie, W., Luo, Q., Tian, X., Huang, J., & Qi, F. (2024). Performance Improvements via Peephole Optimization in Dynamic Binary Translation. Electronics, 13(9), 1608. https://doi.org/10.3390/electronics13091608

Vancouver

Xie W, Luo Q, Tian X, Huang J, Qi F. Performance Improvements via Peephole Optimization in Dynamic Binary Translation. Electronics. 2024;13(9):1608. doi:10.3390/electronics13091608

BibTeX
@article{Xie2024,
  author = {Xie, Wenbing and Luo, Qiaoling and Tian, Xue and Huang, Junyi and Qi, Fengbin},
  title = {Performance Improvements via Peephole Optimization in Dynamic Binary Translation},
  journal = {Electronics},
  year = {2024},
  volume = {13},
  number = {9},
  pages = {1608},
  doi = {10.3390/electronics13091608}
}
Kostenlos starten →