首页> 中文期刊> 《计算机工程与设计》 >X86系统仿真中软硬协同标志位处理优化方法

X86系统仿真中软硬协同标志位处理优化方法

         

摘要

To reduce the emulation cost of the X8 6 instruction set architecture’s condition code during the dynamic binary translation of software X8 6 system emulation,a co-designed condition code optimization approach based on direct register mapping and the custom in-struction controlled EEFLAG (emulated Eflags)was presented.The approach could shrink the expand rate of translated code efficiently, and improve the execution efficiency of translated code.Verification and evaluation showed that the co-designed condition code optimiza-tion approach could correctly complete the translation of X86 instructions,read or modify the EEFLAG.In the process of booting Linux-0. 2 operating system,the expand rate of translated code after optimization came down by 2 9. 6%.%为有效降低X86源指令集体系结构标志位的模拟开销,针对软件X86系统仿真中的动态二进制翻译过程,提出了以寄存器直接映射技术为基础的、由自定义指令控制模拟标志寄存器读写的软硬协同标志位处理优化方法。该方法能够有效降低翻译后目标代码膨胀率,提高翻译后目标代码执行效率。测试结果表明,该协同设计能够正确完成带标志位操作的X86指令翻译、模拟标志寄存器的读取与修改,在Linux-0.2操作系统启动过程测试集下,翻译后目标代码膨胀率相对优化前降低了29.6%。

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号