摘要
为降低系统仿真软件在精确异常方面的性能开销,提高系统仿真效率,提出一种软硬件协同处理的方法。通过建立基本块与翻译块之间的映射关系,生成BTMT表,利用开源平台的开源特性,修改硬件描述语言,定义新指令并对BTMT表逆向查找,使系统仿真软件对异常的处理更加快速准确。测试结果表明,通过精确异常的协同实现,能够使系统仿真器更好支持精确异常,在性能上比纯软件实现精确异常有9.16%~14.32%的提升,验证了其可行性与有效性。
To reduce the performance overhead and improve the emulation efficiency of system emulation software in supporting the precise exception,a software and hardware co-processing approach was proposed.The BTMT table was generated by creating the mapping relation between basic blocks and translation blocks.Because of the open source nature of the open source platform,the hardware description language was modified to define new instructions and realize reverse lookup of the BTMT table.The exceptions were handled more quickly and accurately by system emulation software using this approach.Experimental results show that it not only makes the emulator support precise exception better,but also increases the performance by 9.16%-14.32% than software implementation of precise exception,which demonstrates the feasibility and the effectivity of the approach.
出处
《计算机工程与设计》
北大核心
2015年第11期2985-2989,共5页
Computer Engineering and Design
基金
国家863高技术研究发展计划基金项目(2009AA012200)
关键词
系统仿真
精确异常
软硬件协同
自定义指令
基本块
system emulation
precise exception
software hardware co-design
customized instruction
basic block