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

基于动态反馈的标志位线性分析算法
引用本文:唐锋,武成岗,冯晓兵,张兆庆.基于动态反馈的标志位线性分析算法[J].软件学报,2007,18(7):1603-1611.
作者姓名:唐锋  武成岗  冯晓兵  张兆庆
作者单位:1. 中国科学院,计算技术研究所,先进编译实验室,北京,100080;中国科学院,研究生院,北京,100049
2. 中国科学院,计算技术研究所,先进编译实验室,北京,100080
摘    要:二进制翻译可以用于解决遗产代码的迁移问题,也可以实现不同硬件平台之间软件的通用.如果源平台通过标志位进行条件跳转,那么如何处理标志位就成为翻译中的一个重要问题,对翻译的代码质量起着决定性作用.提出标志位线性分析算法,复杂度为线性,基本上能够消除所有的标志位冗余计算,提高了动态执行的效率.基于动态profiling技术,消除了间接跳转的基本块标志位冗余计算.分析了spec 2000中的大部分整点测试例子,实验结果表明,EfLA(Eflag linear analysis)算法对于大运算量的程序是非常有效的.

关 键 词:动态优化  二进制翻译  标志位优化  动态反馈  线性分析
收稿时间:2006-04-17
修稿时间:2006-04-172006-08-21

EfLA Algorithm Based on Dynamic Feedback
TANG Feng,WU Cheng-Gang,FENG Xiao-Bing and ZHANG Zhao-Qing.EfLA Algorithm Based on Dynamic Feedback[J].Journal of Software,2007,18(7):1603-1611.
Authors:TANG Feng  WU Cheng-Gang  FENG Xiao-Bing and ZHANG Zhao-Qing
Affiliation:Advanced Compiler Technology Laboratory, Institute of Computing Technology, The Chinese Academy of Sciences, Beijing 100080, China;Graduate University, The Chinese Academy of Sciences, Beijing 100049, China
Abstract:Binary translation is applied for the legacy code porting. Binary code can be executed in different hardware platforms by binary translation. If the source platform uses condition code to change the execution flow, it is an important performance issue to handle the condition code translation. This paper presents the algorithm of Eflag linear analysis. The complexity of the algorithm is linear and the algorithm reduces much of the flag computing and increases the performance of the dynamic execution. Through dynamic profiling, the algorithm solves to eliminate the Eflag calculation in the basic indirect jump block. Some integer test cases are analyzed in spec 2000. The experimental results prove the efficiency of the EfLA (Eflag linear analysis) for large calculation program.
Keywords:dynamic optimizing  binary translation  condition code optimizing  dynamic feedback  linear analysis
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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