首页> 外文会议> >A progressive register allocator for irregular architectures
【24h】

A progressive register allocator for irregular architectures

机译:用于不规则体系结构的渐进式寄存器分配器

获取原文

摘要

Register allocation is one of the most important optimizations a compiler performs. Conventional graph-coloring based register allocators are fast and do well on regular, RISC-like, architectures, but perform poorly on irregular, CISC-like, architectures with few registers and non-orthogonal instruction sets. At the other extreme, optimal register allocators based on integer linear programming are capable of fully modeling and exploiting the peculiarities of irregular architectures but do not scale well. We introduce the idea of a progressive allocator. A progressive allocator finds an initial allocation of quality comparable to a conventional allocator, but as more time is allowed for computation the quality of the allocation approaches optimal. This paper presents a progressive register allocator which uses a multi-commodity network flow model to elegantly represent the intricacies of irregular architectures. We evaluate our allocator as a substitute for gcc 's local register allocation pass.
机译:寄存器分配是编译器执行的最重要的优化之一。常规的基于图着色的寄存器分配器速度快,并且在常规的,类似于RISC的体系结构上表现良好,但在不规则的,类似于CISC的,具有很少寄存器和非正交指令集的体系结构上表现较差。在另一个极端,基于整数线性规划的最佳寄存器分配器能够完全建模和利用不规则体系结构的特性,但不能很好地扩展。我们介绍了渐进分配器的思想。渐进式分配器可以找到与常规分配器相当的质量初始分配,但是随着更多时间用于计算,分配质量将达到最佳状态。本文提出了一种渐进式寄存器分配器,该分配器使用多商品网络流模型来优雅地表示不规则体系结构的复杂性。我们评估我们的分配器,以替代gcc的本地寄存器分配过程。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号