|国家预印本平台
首页|动态二进制翻译中数据预取优化研究

动态二进制翻译中数据预取优化研究

ata Prefetch Optimization in Dynamic Binary Translation

中文摘要英文摘要

动态优化是动态二进制翻译研究中一个十分重要的课题,数据预取优化能提高现代处理器体系结构应用程序性能。基于超级块(SuperBlock)的动态数据预取优化采用软件插桩方式收集应用程序的Load访存延迟信息并构造SuperBlock,然后根据延迟信息以及SuperBlock数据流分析得出的寄存器定值引用关系,对延迟Load指令进行预取优化。通过在龙芯DigitalBridge动态二进制翻译系统上实验验证,数据预取优化可以提高翻译后SPEC2000浮点测试程序代码的平均性能2.53%,开销远小于0.5%。

ynamic optimization is an important research subject in binary translation systems. As a way of memory optimization, data prefetching improves application’s performance on modern processor architectures. This paper proposes a SuperBlock based dynamic data prefetching scheme for dynamic translation, it uses software instrumentation to collect program’s load delay information and build SuperBlocks. Then the data flow analysis is performed on SuperBlocks to generate the RDUG(register define and use graph). After that, data prefetching instructions are inserted for the delinquent loads. Experiments on the Loongson DigitalBridge dynamic binary translation system shows that the prefetching scheme can achieve 2.53% improvement on average for SPEC2000 float programs while the overhead is less than 0.5%.

罗琼程、吴强

计算技术、计算机技术

数据预取二进制翻译动态优化超级块

data prefetchingbinary translationdynamic optimizationsuperblock

罗琼程,吴强.动态二进制翻译中数据预取优化研究[EB/OL].(2009-03-17)[2025-08-05].http://www.paper.edu.cn/releasepaper/content/200903-592.点此复制

评论