期刊文献+

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

Condition code optimization approach of co-design in X86 system emulation
下载PDF
导出
摘要 为有效降低X86源指令集体系结构标志位的模拟开销,针对软件X86系统仿真中的动态二进制翻译过程,提出了以寄存器直接映射技术为基础的、由自定义指令控制模拟标志寄存器读写的软硬协同标志位处理优化方法。该方法能够有效降低翻译后目标代码膨胀率,提高翻译后目标代码执行效率。测试结果表明,该协同设计能够正确完成带标志位操作的X86指令翻译、模拟标志寄存器的读取与修改,在Linux-0.2操作系统启动过程测试集下,翻译后目标代码膨胀率相对优化前降低了29.6%。 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%.
出处 《计算机工程与设计》 CSCD 北大核心 2014年第7期2476-2481,共6页 Computer Engineering and Design
基金 国家863高技术研究发展计划基金项目(2009AA012200)
关键词 标志位优化 软硬协同 系统仿真 自定义指令 寄存器映射 condition code optimization hardware software co-design system emulation custom instruction register mapping
  • 相关文献

参考文献10

  • 1董卫宇,王立新,蒋烈辉,郭玉东.基于保护缓存的x86系统仿真优化[J].计算机工程与设计,2013,34(2):606-610. 被引量:4
  • 2HU Weiwu, WANG Jian, GAOXiang, et al, GODSN-3: A scalable multicore RISC processor with x86 emulation [J]. IEEE Micro, 2009, 29 (2): 17-29.
  • 3Jair Fajardo Junior, Mateus B Rutzig, Antonio CS Beck, el al. Towards an adaptable Multiple-ISA reconfigurable procesr[G] Lecture Notes in Computer Science 6578 7th International Symlyo- siurn on Applied Recont'igurable Computing, 2011: 157-168.
  • 4Lawton K. Bochs: The open source IA-32 emulation project [EB/OL]. http: //bochs. sourceforge, net/, 2011.
  • 5蔡嵩松,刘奇,王剑,刘金刚.基于龙芯处理器的二进制翻译器优化[J].计算机工程,2009,35(7):280-282. 被引量:14
  • 6高翔,陈云霁,王焕东,唐丹,胡伟武.System Architecture of Godson-3 Multi-Core Processors[J].Journal of Computer Science & Technology,2010,25(2):181-191. 被引量:7
  • 7Fan DR, Li XW, Li GJ, et al. New methodologies for parallel architecture [J]. Journal of Computer .Science and Technolo- gy, 2011, 26 (4): 578-587.
  • 8胡伟武,李晓钰,李国杰.一种RISC处理器及其寄存器标志位处理方法[P].中国:200710308571.1,2008.
  • 9Linux 3. 1. Release log [EB/OL]. [2011-10-24]. http: // kernelnewbies, org/Linux _ 3. 1.
  • 10OEMU. Change Log/1.2 [EB/OL]. [2012-09-05]. http: // wiki. qemu. org/ChangeLog/1.2.

二级参考文献16

  • 1Wei-WuHu Fu-XinZhang Zu-SongLi.Microarchitecture of the Godson-2 Processor[J].Journal of Computer Science & Technology,2005,20(2):243-249. 被引量:52
  • 2胡伟武,赵继业,钟石强,杨旭,Elio Guidetti,吴永强.Implementing a 1GHz Four-Issue Out-of-Order Execution Microprocessor in a Standard Cell ASIC Methodology[J].Journal of Computer Science & Technology,2007,22(1):1-14. 被引量:14
  • 3Anton C, Mark H. FX!32: A Profile-directed Binary Translator[J]. IEEE Micro, 1998, 18(2): 56-64.
  • 4Leonid B, Tevi D. IA-32 Execution Layer: A Two-phase Dynamic Translator Designed to Support IA-32 Applications on Itaniumbased Systems[C]//Proc. of the 36th Annual IEEE/ACM Int'l Symp. on Microarchitecture. [S.l.]: IEEE Press, 2003.
  • 5Fabrice B. QEMU, A Fast and Portable Dynamic Translator[C]//Proc. of the 2005 USENIX Annual Technical Conference. Berlin, Germany: Springer-Verlag, 2005.
  • 6李骏,管海兵,李增祥,梁阿磊.动态二进制翻译中基本块重叠冗余的优化[J].计算机工程,2007,33(22):60-62. 被引量:2
  • 7HU Weiwu,WANG Jian,GAO Xiang. GODSON-3:A scalable multicore RISC process with x86 emulation[J].IEEE Micro,2009,(02):17-29.
  • 8Prashanth P Bungale,Chi-Keung Luk. PinOS:A programmable framework for whole system dynamic instrumentation[A].New York:ACM,2006.137-147.
  • 9HENG Yin,Dawn Song. TEMU-binary code analysis via whole-system layered annotative execution[R].Berkeley:UC Berkeley,2010.
  • 10Fabrice Bellard. QEMU:A fast and portable dynamic translator[A].Berkeley:USENIX Association,2005.41-46.

共引文献21

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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