作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2009, Vol. 35 ›› Issue (9): 283-封三. doi: 10.3969/j.issn.1000-3428.2009.09.099

• 开发研究与设计技术 • 上一篇    

动态二进制翻译中的中间表示

姜玲燕,梁阿磊,管海兵   

  1. (上海交通大学软件学院,上海 200240)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-05-05 发布日期:2009-05-05

Intermediate Representation in Dynamic Binary Translation

JIANG Ling-yan, LIANG A-lei, GUAN Hai-bing   

  1. (School of Software, Shanghai Jiaotong University, Shanghai 200240)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-05-05 Published:2009-05-05

摘要: 在二进制翻译中采用中间表示,可以适当隔离不同机器平台的特点,便于二进制翻译系统的移植。提出一种VINST中间表示方法,介绍其指令集与特点,运用SSA形式化和冗余指令删除等方法对VINST进行初步优化。优化前后的性能比较结果表明,相对简单高效的方法可以弥补优化的开销,提高系统性能。

关键词: 动态二进制翻译, 中间表示, 二进制翻译器CrossBit

Abstract: In binary translation, the use of intermediate representation can appropriate segregate different machine platforms, and make binary translation system more portable. This paper presents an intermediate representation called VINST, introduces the instruction set and its characteristics. It discusses some optimization methods including SSA formalization algorithm and redundancy elimination algorithm. Through comparison between before and after the optimization, it shows that a simple and efficient method can cover the cost of optimization itself and improve system performance.

Key words: dynamic binary translation, intermediate representation, binary translator CrossBit

中图分类号: