ARMing x86 Games: Accelerating Binary Translation Using Software-Only Validated Flag Speculation

  • James Yen
  • , Jiarui Wang
  • , Zhibai Huang
  • , Zhixiang Wei
  • , Ziyang Zhang
  • , Chen Chen
  • , Senhao Yu
  • , Yun Wang
  • , Hao Wang
  • , Zhengwei Qi

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

As ARM architecture becomes more prevalent in personal computers, users transitioning from x86-based Windows platforms face compatibility issues, particularly with x86 applications like games. Existing solutions, such as QEMU, Box64, and Apple's Rosetta 2, either incur high latency, face performance bottlenecks, or are limited to specific ecosystems. A key challenge remains the efficient translation of x86 status flags, which impacts performance.We propose a novel optimization method that enhances compatibility and performance by leveraging software-only strategies tailored to ARM hardware features. Using data flow analysis, our approach identifies when ARM's hardware flags can replace x86 flags, reducing reliance on software emulation and lowering translation overhead. This results in improved speed and compatibility for x86 applications on ARM, supporting demanding applications like games across x86 and ARM platforms without specialized hardware. Experimental results show significant performance gains, with computational tasks improving by up to 18%, and graphics rendering (FPS) also increasing by up to 18%. In particular, real-world testing on popular Steam titles demonstrates FPS improvements ranging from about 7% to over 12%.

Original languageEnglish
Title of host publicationMobiSys 2025 - Proceedings of the 23rd ACM international Conference on Mobile Systems, Applications, and Services
Pages183-195
Number of pages13
ISBN (Electronic)9798400714535
DOIs
StatePublished - 25 Sep 2025
Event23rd ACM International Conference on Mobile Systems, Applications, and Services, MobiSys 2025 - Anaheim, United States
Duration: 23 Jun 202527 Jun 2025

Publication series

NameMobiSys 2025 - Proceedings of the 23rd ACM international Conference on Mobile Systems, Applications, and Services

Conference

Conference23rd ACM International Conference on Mobile Systems, Applications, and Services, MobiSys 2025
Country/TerritoryUnited States
CityAnaheim
Period23/06/2527/06/25

Keywords

  • ARM
  • binary translation
  • EFLAGS
  • x86

Fingerprint

Dive into the research topics of 'ARMing x86 Games: Accelerating Binary Translation Using Software-Only Validated Flag Speculation'. Together they form a unique fingerprint.

Cite this