arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.00487cs.ARcs.PL
收藏

部分交叉编译与混合执行以加速动态二进制翻译

Partial Cross-Compilation and Mixed Execution for Accelerating Dynamic Binary Translation

Sun Yat-sen University(中山大学)

Yuhao Gu, Zhongchun Zheng, Nong Xiao, Yutong Lu, Xianwei Zhang

AI总结:

该研究提出一种结合编译与模拟的混合执行系统,通过选择性函数卸载减少动态二进制翻译的开销,实现高达13倍的加速效果。

摘要:

随着指令集架构(ISAs)多样性的增加,跨ISAs程序执行已成为常态。动态二进制翻译(DBT)是主要解决方案,但性能较差。交叉编译避免了模拟成本,但受限于

英文摘要:

With the growing diversity of instruction set architectures (ISAs), cross-ISA program execution has become common. Dynamic binary translation (DBT) is the main solution but suffers from poor performance. Cross-compilation avoids emulation costs but is constrained by an "all-or-nothing" model-programs are either fully cross-compiled or entirely emulated. Complete cross-compilation is often unfeasible due to ISA-specific code or missing dependencies, leaving programs with high emulation overhead. We propose a hybrid execution system that combines compilation and emulation, featuring a selective function offloading mechanism. This mechanism establishes cross-environment calling channels, offloading eligible functions to the host for native execution to reduce DBT overhead. Key optimizations address offloading costs, enabling efficient hybrid operation. Built on LLVM and QEMU, the system works automatically for both applications and libraries. Evaluations show it achieves up to 13x speedups over existing DBT, with strong practical value.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑