期刊文献+

一种动态二进制翻译中间表示变量活性分析改进算法 被引量:2

Variable Activity Analysis Improved Algorithm for Intermediate Representation in Dynamic Binary Translation
下载PDF
导出
摘要 动态二进制翻译是指可实现不同体系结构上软件兼容移植的系统,翻译过程使用源体系结构的一条或多条指令来模拟目标体系结构的一条指令,完成两者指令功能的等价,但也同时增大了代码的膨胀率,降低了程序执行的效率.变量活性分析是提高二进制翻译系统执行效率重要的方法,本文在QEMU中间表示TCG(Tiny Code Generator)变量活性分析算法的基础上,提出线性扫描冗余ld M和st M指令匹配删除算法删除TCG中间代码冗余指令,有效简化指令翻译.整体性能测试表明,该方法可有效减少TCG中间指令的数目,比QEMU优化前翻译性能平均提高约12%. Dynamic binary translation is a system which enables the software is compatible with different architectures. In the process of translation,it always uses a local instruction or multiple local instructions to simulate a single target instruction to complete the e- quivalent function,but also increases the expansion rate of the codeand reduces the efficiency of program execution. Liveness analysis is an important method to improve the execution efficiency of translation program. This paper presents a linear scan redundant load and store instructions matching and deleting algorithm to reduce translation instruction based on TCG liveness analysis. Overall perform- ance tests show that this method can effectively reduce the number of TCG intermediate instruction, making an increase of about 12 % over the prior QEMU translation average performance.
出处 《小型微型计算机系统》 CSCD 北大核心 2016年第2期395-400,共6页 Journal of Chinese Computer Systems
基金 国家"八六三"高技术研究发展计划项目(2009AA012201)资助 国家核高基重大专项项目(2009ZX01036-001-001)资助 国家自然科学基金项目(61472447)资助
关键词 动态二进制翻译系统 变量活性分析 QEMU TCG dynamic binary translation liveness analysis QEMU TCG ( tiny code generator)
  • 相关文献

参考文献3

二级参考文献66

  • 1Bellard F, Usenix. QEMU, a fast and portable dynamic translator [ C ]//USENIX Association Proceedings of the FREENIX/Open Source Track,2005:41 - 46.
  • 2Yabin. An Optimization Approach for QEMU [ C ]//2009 1 st Interna- tional Conference on Information Science and Engineering (ICISE 2009) , 2009:129 - 132.
  • 3Probst M, Krall A, Scholz B. Register liveness analysis for optimizing dynamic binary translation [ C ]//Ninth Working Conference on Reverse Engineering, Proceedings, 2002:35-44.
  • 4J C Dehnert,B K Grant,J P Banning,et al.The transmeta code morphing software:Using speculation,recovery,and adaptive retranslation to address real-life challenges[C].The Int'l Symp on Code Generation and Optimization,San Francisco,California,2003
  • 5Anton Chernoff,Mark Herdeg,Ray Hookway,et al.FX!32:A profile-directed binary translator[J].IEEE Trans on Micro,1998,18:56-64
  • 6Cindy Zheng,Carol Thompson.PA-RISC to IA-64:Transparent execution,no recompilation[J].IEEE Computer,2000,33(3):47-52
  • 7Troger,Jens Specification-driven dynamic binary translation[Ph D dissertation][D].Brisbane:Queensland University of Technology,2004
  • 8Cristina Cifuentes,Mike Van Emmerik,et al.Preliminary experiences with the use of the UQBT binary translation framework[C].Workshop on Binary Translation,Technical Committee on Computer Architecture Newsletter,Newport Beach,USA,1999
  • 9C Cifuentes,V Malhotra.Binary translation:Static,dynamic,retargetable?[C].Int'l Conf on Software MaintenanceMonterey,CA,1996
  • 10W Chen,S Lerner,R Chaiken,et al.Mojo:A dynamic optimization system[C].The 3rd Workshop on Feedback-Directed and Dynamic Optimization,Monterey,California,2000

共引文献35

同被引文献6

引证文献2

二级引证文献4

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部