首页> 外国专利> Minimizing Register Spills by Using Register Moves

Minimizing Register Spills by Using Register Moves

机译:通过使用寄存器移动来最大程度地减少寄存器溢出

摘要

A system and method for minimizing register spills during compilation. A compiler reallocates spilled variables from stack memory to other available registers. Although a corresponding register file may not have available registers for storage, the compiler identifies available registers in other locations for storage. The compiler identifies available registers in an alternate register file, wherein the alternate register file may be a floating-point register file which is then used for spilled integer variables. Other instruction type combinations between spilled variables and alternate register files are possible. When an available register within the alternate register file is identified, the compiler modifies the program instructions to allocate the corresponding spilled variable to the available register.
机译:一种用于在编译期间最小化寄存器溢出的系统和方法。编译器将溢出的变量从堆栈存储器重新分配给其他可用寄存器。尽管相应的寄存器文件可能没有可用的寄存器用于存储,但是编译器会在其他位置标识可用的寄存器以进行存储。编译器识别备用寄存器堆中的可用寄存器,其中备用寄存器堆可以是浮点寄存器堆,然后将其用于溢出的整数变量。溢出变量和备用寄存器文件之间的其他指令类型组合也是可能的。当识别出备用寄存器文件中的可用寄存器时,编译器会修改程序指令,以将相应的溢出变量分配给可用寄存器。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号