首页> 外文会议>International Conference on Parallel Architectures and Compilation Techniques;PACT >Retargeting JIT Compilers by using C-Compiler Generated Executable Code
【24h】

Retargeting JIT Compilers by using C-Compiler Generated Executable Code

机译:使用C编译器生成的可执行代码将JIT编译器重新定位

获取原文

摘要

JIT compilers produce fast code, whereas interpreters are easy to port between architectures. We propose to combine the advantages of these language implementation techniques as follows: we generate native code by concatenating and patching machine code fragments taken from interpreter-derived code (generated by a C compiler); we completely eliminate the interpreter dispatch overhead and accesses to the interpreted code by patching jump target addresses and other constants into the fragments. In this paper we present the basic idea, discuss some issues in more detail, and present results from a proof-of-concept implementation, providing speedups of up to 1.87 over the fastest previous interpreter-based technique, and performance comparable to simple native-code compilers. The effort required for retargeting our implementation from the 386 to the PPC architecture was less than a person-day.
机译:JIT编译器产生快速的代码,而解释器很容易在体系结构之间移植。我们建议将这些语言实现技术的优点结合如下:我们通过对来自解释器派生的代码(由C编译器生成)获取的机器代码片段进行级联和修补来生成本机代码;通过将跳转目标地址和其他常量修补到片段中,我们完全消除了解释程序的调度开销和对解释后代码的访问。在本文中,我们介绍了基本概念,更详细地讨论了一些问题,并给出了概念验证实施的结果,与以前最快的基于解释器的技术相比,提供了高达1.87的提速,并且其性能可与简单的本地解释器相提并论。代码编译器。将我们的实现从386重新定位到PPC架构所需的工作少于一个人一天。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号