引用本文:文延华,唐大国,漆锋滨.二进制翻译中的寄存器映射与剪裁的实现.软件学报,2009,20(zk):1-7
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 5666次   下载 8040 本文二维码信息
码上扫一扫!
分享到: 微信 更多
二进制翻译中的寄存器映射与剪裁的实现
文延华1, 唐大国, 漆锋滨
江南计算技术研究所,江苏 无锡 214083
摘要:
如何进行异构机之间可执行程序的高效移植是二进制翻译面对的难点问题.从寄存器映射的角度分析了这一问题,提出了分段映射和特殊寄存器功能剪裁相结合的方法,以trend系统为平台进行了实验和测试.NPB-serail测试包和SPEC2000测试包的测试结果显示:使用该方法,可以简化指令翻译,减少代码膨胀,有效提高翻译后代码的执行效率.
关键词:  二进制翻译  寄存器映射  特殊寄存器  分段映射  特殊寄存器功能剪裁
DOI:
分类号:
基金项目:Supported by the National Basic Research Program of China under Grant No.2007CB310900 (国家重点基础研究发展计划(973))
Register Mapping and Register Function Cutting out Implementation in Binary Translation
WEN Yan-Hua,TANG Da-Guo,QI Feng-Bin
Abstract:
How to migrate binary code between different ISA efficiently is a difficult problem in binary translation. This paper analyzes this problem at the aspect of register mapping and an innovative register mapping method combining segment mapping and function cutting out of special-purpose register has been presented in this paper. An implementation of the method has been done on trend, which is a dynamic binary translation system translating and executing binary code of PowerPC on Alpha. The testing results of NPB-serial and SPEC2000 show that the method can simplify instruction translation, decrease code expanding and improve the execution efficiency of binary code obtained after binary translation evidently.
Key words:  binary translation  register mapping  special-purpose register  segment mapping  function cutting out of special-purpose register