首页 | 本学科首页   官方微博 | 高级检索  
     

二进制翻译中的寄存器映射与剪裁的实现
引用本文:文延华,唐大国,漆锋滨.二进制翻译中的寄存器映射与剪裁的实现[J].软件学报,2009,20(Z1):1-7.
作者姓名:文延华  唐大国  漆锋滨
作者单位:江南计算技术研究所,江苏 无锡 214083
基金项目:Supported by the National Basic Research Program of China under Grant No.2007CB310900 (国家重点基础研究发展计划(973))
摘    要:如何进行异构机之间可执行程序的高效移植是二进制翻译面对的难点问题.从寄存器映射的角度分析了这一问题,提出了分段映射和特殊寄存器功能剪裁相结合的方法,以trend系统为平台进行了实验和测试.NPB-serail测试包和SPEC2000测试包的测试结果显示:使用该方法,可以简化指令翻译,减少代码膨胀,有效提高翻译后代码的执行效率.

关 键 词:二进制翻译  寄存器映射  特殊寄存器  分段映射  特殊寄存器功能剪裁
收稿时间:7/1/2008 12:00:00 AM
修稿时间:2009/7/17 0:00:00

Register Mapping and Register Function Cutting out Implementation in Binary Translation
WEN Yan-Hu,TANG Da-Guo and QI Feng-Bin.Register Mapping and Register Function Cutting out Implementation in Binary Translation[J].Journal of Software,2009,20(Z1):1-7.
Authors:WEN Yan-Hu  TANG Da-Guo and 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.
Keywords:binary translation  register mapping  special-purpose register  segment mapping  function cutting out of special-purpose register
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号