Computer Science · Computational Theory and Mathematics
Register allocation Optimizing compilers Graph coloring
Gregory J. Chaitin, Marc A. Auslander, Ashok K. Chandra, John Cocke, Martin E. Hopkins, Peter W. Markstein
See on the mapAbstract
Abstract--Register allocation may be viewed as a graph coloring problem. Each node in the graph stands for a computed quantity that resides in a machine register, and two nodes are connected by an edge if the quantities interfere with each other, that is, if they are simultaneously live at some point in the object program. This approach, though mentioned in the literature, was never implemented before. Preliminary results of an experimental implementation i a PL/I optimizing compiler suggest hat global register allocation approaching that of hand-coded assembly language may be attainable.