首页> 外文会议>Workshop on Interpreters, virtual machines and emulators >Code sharing among states for stack-caching interpreter
【24h】

Code sharing among states for stack-caching interpreter

机译:状态之间的代码共享,用于堆栈缓存解释器

获取原文

摘要

Interpretation has salient merits of simplicity, portability and small footprint but comes with a price of poor performance. Stack caching is a technique to build a high-performance interpreter by keeping source and destination operands of instructions in registers so as to reduce memory accesses involved during interpretation. One drawback of stack caching is that an instruction may have multiple ways to perform interpretation depending on which registers source operands reside in, resulting in code explosion as well as deterioration of code maintainability. This paper presents a code sharing mechanism that achieves performance as efficient as the stack-caching interpreter and in the meantime keeps the code size as compact as general threaded interpreters. Our results show that our approach outperforms a threaded interpreter by an average of 13.6% and the code size increases by only 1KB (~3%).
机译:解释具有简单,可移植性和小型占地面积的突出的优点,但具有较差的性能。堆栈缓存是一种通过在寄存器中的指令源和目标操作数来构建高性能解释器,以减少在解释期间涉及的内存访问。堆叠缓存的一个缺点是指令可以具有多种方式来执行解释,这取决于哪个寄存器源操作数存在于其中,导致代码爆炸以及代码可维护性的恶化。本文介绍了一种代码共享机制,可作为堆叠缓存解释器的高效实现性能,并且在此期间将代码大小保持为Compact作为常规线程解释器。我们的研究结果表明,我们的方法在平均值为13.6%的情况下优于一个螺纹翻译,并且代码大小仅增加1KB(〜3%)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号