【24h】

The dream of a lifetime

机译:一生的梦想

获取原文

摘要

We define a "rack", a data abstraction hybrid of a register and a stack. It is used for encapsulating the behavior of the kind of register whose contents may have an extent which requires that it be saved during the execution of an unknown piece of code. A rack can be implemented cleverly to achieve performance benefits over the usual implementation of a stack discipline. The basic idea is that we interpose a state machine controller between the rack abstraction and its stack/registers. This controller can act as an on-the-fly run-time peephole optimizer, eliding unnecessary stack operations.

We demonstrate the sorts of savings one might expect by using cleverly implemented racks in the context of a particular caller-saves implementation of an interpreter for the SCHEME dialect of LISP. For sample problems we can expect that only one out of every four pushes that would be done by a conventional machine will be done by the clever version.

机译:

我们定义一个“机架”,即寄存器和堆栈的数据抽象混合体。它用于封装某种寄存器的行为,其内容可能具有某种程度,要求在执行未知代码段期间将其保存。可以巧妙地实现机架,以实现比常规的堆叠规范更好的性能。基本思想是,我们在机架抽象及其堆栈/寄存器之间插入一个状态机控制器。该控制器可以充当运行时窥视孔优化器,从而避免了不必要的堆栈操作。

我们展示了在LISP的SCHEME方言的解释器的特定调用者-节省实现的情况下,通过巧妙地实现机架可以预期的节省。对于样本问题,我们可以预期,聪明机器会在常规机器上执行的每四次推送中只有一次。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号