首页> 外文期刊>Software >Experimental evaluation and improvements to linear scan register allocation
【24h】

Experimental evaluation and improvements to linear scan register allocation

机译:实验评估和线性扫描寄存器分配的改进

获取原文
获取原文并翻译 | 示例
       

摘要

We report our experience from implementing and experimentally evaluating the performance of various register allocation schemes, focusing on the recently proposed linear scan register allocator. In particular, we describe in detail our implementation of linear scan and report on its behavior both on register-rich and on register-poor computer architectures. We also extensively investigate how different options to the basic algorithm and to the compilation process as a whole affect compilation times and quality of the produced code. In a nutshell, our experience is that a well-tuned linear scan register allocator is a good choice on register-rich architectures. It performs competitively with graph coloring based allocation schemes and results in significantly lower compilation times. When compilation time is a concern, such as in just-in-time compilers, it can also be a viable option on register-poor architectures.
机译:我们报告我们在实施和实验评估各种寄存器分配方案的性能方面的经验,重点是最近提出的线性扫描寄存器分配器。特别是,我们详细描述了线性扫描的实现方式,并报告了在寄存器丰富和寄存器贫乏的计算机体系结构上线性扫描的行为。我们还广泛研究了基本算法和整个编译过程的不同选项如何影响编译时间和所生成代码的质量。简而言之,我们的经验是,在寄存器丰富的体系结构上,调整良好的线性扫描寄存器分配器是一个不错的选择。它与基于图着色的分配方案相比具有竞争优势,并大大缩短了编译时间。当需要考虑编译时间时(例如在即时编译器中),对于贫乏寄存器体系结构,这也是可行的选择。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号