Carnegie Mellon University
Browse
file.pdf (113.18 kB)

An Analysis of Graph Coloring Register Allocation

Download (113.18 kB)
journal contribution
posted on 1993-01-01, 00:00 authored by David Koes, Seth C. Goldstein
Graph coloring is the de facto standard technique for register allocation within a compiler. In this paper we examine the importance of the quality of the coloring algorithm and various extensions of the basic graph coloring technique by replacing the coloring phase of the GNU compiler’s register allocator with an optimal coloring algorithm. We then extend this optimal algorithm to incorporate various extensions such as coalescing and preferential register assignment. We find that using an optimal coloring algorithm has surprisingly little benefit and empirically demonstrate the benefit of the various extensions.

History

Publisher Statement

All Rights Reserved

Date

1993-01-01

Usage metrics

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC