首页> 中文期刊> 《高技术通讯》 >基于软硬件协同设计的解释器指令分派方法

基于软硬件协同设计的解释器指令分派方法

         

摘要

To reduce the overhead caused by instruction dispatch to improve the performance of interpreters , an instruc-tion dispatch approach based on hardware and software co-design is proposed .Its main idea is to eliminate the ex-pensive operation of constant address loading by optimizing the instruction dispatch table in the aspect of sofware , and to acceleratethe speed of memory access under the support of hardware by enhancing the processor ’ s instruction set in the aspect of hardware .The hardware-software co-design can minimize the runtime overhead of instruction dispatch , thus improving the performance of interpreters .The experimental results showed that the proposed ap-proach significantly improved the performance of interpreters .For benchmarks of SPECjvm 98 and DaCapo , the overall performance of interpreters was improved by 11.5%, and the highest performance boost was up to 15.4%. The approach is highly versatile , easy to implement and can be applied to the design and implementation of high performance interpreters on mainstream processors .%为了降低指令分派造成的运行开销以提高解释器的性能,提出了一种采用软硬件协同设计的解释器指令分派方法。其核心思想是在软件层面通过对指令分派表进行优化以消除了代价较高的地址常量加载操作,在硬件层面通过扩展处理器的访存指令进一步实现基于硬件支持的访存加速。软硬件协同设计可以最大限度地降低由指令分派引入的运行时开销,从而提升解释执行的效率。试验结果表明,该方法能够显著提升解释器的性能。对于SPECjvm98和DaCapo测试集,解释器总体性能提升了11.5%,且单项性能的最大提升幅度高达15.4%。该方法通用性强,实现代价低,适用于现代主流处理器平台上高性能解释器的设计和优化。

著录项

  • 来源
    《高技术通讯》 |2016年第3期|226-234|共9页
  • 作者单位

    中国科学院大学 北京100049;

    计算机系统结构国家重点实验室 北京100190;

    中国科学院计算技术研究所 北京100190;

    龙芯中科技术有限公司 北京100095;

    计算机系统结构国家重点实验室 北京100190;

    中国科学院计算技术研究所 北京100190;

    计算机系统结构国家重点实验室 北京100190;

    中国科学院计算技术研究所 北京100190;

  • 原文格式 PDF
  • 正文语种 chi
  • 中图分类
  • 关键词

    解释器; 指令分派; 软硬件协同设计; 虚拟机; 优化;

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号