首页> 外文会议>International Symposium on Code Generation and Optimization >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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号