首页> 外国专利> REGISTER ALLOCATION BY PUZZLE SOLVING

REGISTER ALLOCATION BY PUZZLE SOLVING

机译:通过难题求解进行寄存器分配

摘要

We show that register allocation can be viewed as solving a collection of puzzles. We model the register file as a puzzle board and the program variables as puzzle pieces. We model pre-coloring by letting some of the puzzle pieces be already immovably placed on the puzzle board, and we model register aliasing by letting pieces have a plurality widths. For a wide variety of computer architectures, we can solve the puzzles in polynomial time. Puzzle solving is independent of spilling, that is, puzzle solving can be combined with a wide variety of approaches to spilling.
机译:我们证明寄存器分配可以看作是解决难题的集合。我们将寄存器文件建模为拼图板,将程序变量建模为拼图。我们通过将一些拼图块已经不可移动地放置在拼图板上来对预着色进行建模,并通过让拼图块具有多个宽度来对套叠进行建模。对于各种各样的计算机体系结构,我们可以解决多项式时间内的难题。解谜与溢出无关,也就是说,解谜可以与多种溢出方法结合使用。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号