首页> 外文会议>International conference on principles and practice of constraint programming >Constraint-Based Register Allocation and Instruction Scheduling
【24h】

Constraint-Based Register Allocation and Instruction Scheduling

机译:基于约束的寄存器分配和指令调度

获取原文
获取外文期刊封面目录资料

摘要

This paper introduces a constraint model and solving techniques for code generation in a compiler back-end. It contributes a new model for global register allocation that combines several advanced aspects: multiple register banks (subsuming spilling to memory), coalescing, and packing. The model is extended to include instruction scheduling and bundling. The paper introduces a decomposition scheme exploiting the underlying program structure and exhibiting robust behavior for functions with thousands of instructions. Evaluation shows that code quality is on par with LLVM, a state-of-the-art compiler infrastructure. The paper makes important contributions to the applicability of constraint programming as well as compiler construction: essential concepts are unified in a high-level model that can be solved by readily available modern solvers. This is a significant step towards basing code generation entirely on a high-level model and by this facilitates the construction of correct, simple, flexible, robust, and high-quality code generators.
机译:本文介绍了一个约束模型和一种在编译器后端中用于代码生成的求解技术。它为全局寄存器分配提供了一种新模型,该模型结合了几个高级方面:多个寄存器库(包括溢出到内存中),合并和打包。该模型被扩展为包括指令调度和捆绑。本文介绍了一种分解方案,该方案利用了底层程序结构,并针对具有成千上万条指令的功能表现出强大的性能。评估表明,代码质量与LLVM(最新的编译器基础结构)相当。本文为约束编程的适用性以及编译器的构造做出了重要贡献:基本概念被统一在一个高级模型中,可以通过现成的现代求解器进行求解。这是朝着完全基于高级模型生成代码迈出的重要一步,从而有助于构建正确,简单,灵活,健壮和高质量的代码生成器。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号