首页> 外文会议>Workshop on Interpreters, virtual machines and emulators >Combining stack caching with dynamic superinstructions
【24h】

Combining stack caching with dynamic superinstructions

机译:将堆栈缓存与动态超起子相结合

获取原文

摘要

Dynamic superinstructions eliminate most of the interpreter dispatch overhead. This results in a higher proportion of interpreter time spent in stack accesses (on a stack-based virtual machine). Stack caching reduces the stack access overhead. Each of these optimizations provides more speedup, if the other one is applied, too. Combining these optimizations also opens additional opportunities: we can insert stack state transitions without dispatch cost; this reduces the number of necessary VM instruction instances significantly. A shortest-path search can find the optimal sequence of state transitions and VM instructions. In this paper we describe an implementation of static stack caching employing these ideas. We also represent empirical results for our implementation, resulting in a speedup of up to 58% over a version that keeps one value in registers all the time.
机译:动态超侧标记消除了大多数翻译派遣开销。这导致在堆栈访问中花费的更高比例的解释器时间(在基于堆栈的虚拟机上)。堆栈缓存减少了堆栈访问开销。如果应用另一个,这些优化中的每一个都提供了更多的加速。结合这些优化也打开了额外的机会:我们可以在没有调度成本的情况下插入堆栈状态转换;这显着减少了必要的VM指令实例的数量。最短路径搜索可以找到最佳状态转换和VM指令。在本文中,我们描述了采用这些想法的静态堆栈缓存的实现。我们还代表了我们实现的经验结果,从而在一个版本中加速高达58%,这一直在寄存器中保持一个值。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号