计算机工程与应用 ›› 2012, Vol. 48 ›› Issue (29): 42-45.

• 博士论坛 • 上一篇    下一篇

MIPS64指令集模拟器动态编译技术研究

蔡启先1,郭  森2,王智文1   

  1. 1.广西工学院 计算机工程系,广西 柳州 545006
    2.广西工学院 电子信息与控制工程系,广西 柳州 545006
  • 出版日期:2012-10-11 发布日期:2012-10-22

Dynamic compiled technique research of MIPS64 instruction set simulation

CAI Qixian1, GUO Sen2, WANG Zhiwen1   

  1. 1.Department of Computer Engineering, Guangxi University of Technology, Liuzhou, Guangxi 545006, China
    2.Department of Electronic Information and Control Engineering, Guangxi University of Technology, Liuzhou, Guangxi 545006, China
  • Online:2012-10-11 Published:2012-10-22

摘要: 嵌入式开发对指令集模拟器模拟速度的要求越来越高。提出了一种新的细化的动态翻译技术,基本思路是指令集的每条指令被翻译成一条语义函数,通过特定的指针指向符合条件的语义函数,这样,即使执行条件发生改变时也能调用上次编译的结果,从而使模拟速度显著提高,MIPS64指令集模拟器的测试结果给以了验证。

关键词: 指令集模拟器, 细化的动态编译模式, MIPS64

Abstract: The simulation speed of ISS(Instruction Set Simulator) is an important element in the development of embedded system. The paper gives a new special dynamic compiled simulation technique, basic mentality is that every instruction is decoded into a semantic function, and it adopts a particular pointer pointing a correspondent semantic function according with conditions. In this way, even if performance condition changes, ISS can also call the result compiled last time, so the simulation speed is improved obviously. The tests of MIPS64 ISS based on the technique show it.

Key words: Instruction Set Simulator(ISS), special dynamic compiled mode, MIPS64