首页> 外国专利> Cooperation of global and local register allocators for better handling of procedures

Cooperation of global and local register allocators for better handling of procedures

机译:全球和本地寄存器分配器的合作,以更好地处理程序

摘要

A method and device for optimizing a compiler involves cooperation between the global and local register allocators in assigning symbolic registers to hardware registers. A large procedure may have many associated symbolic registers; the invention involves partitioning the symbolic registers into at least two portions, and allowing the global register allocator to assign one portion and the local register allocator to assign another portion. The registers may be partitioned based on different criteria, such as local vs. global registers, or spill costs, or shallow vs. nested regions.
机译:用于优化编译器的方法和设备包括在将符号寄存器分配给硬件寄存器时,全局寄存器分配器和局部寄存器分配器之间的协作。大型过程可能具有许多关联的符号寄存器;本发明涉及将符号寄存器划分为至少两个部分,并允许全局寄存器分配器分配一个部分,并且允许本地寄存器分配器分配另一部分。可以基于不同的标准对寄存器进行分区,例如本地与全局寄存器,或者溢出成本,或者浅与嵌套区域。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号