An Analysis of Graph Coloring Register Allocation

Abstract

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.

Open PDF

Document Details

Document Type
Technical Report
Publication Date
Mar 01, 2006
Accession Number
ADA456095

Entities

People

  • David Koes
  • Seth C. Goldstein

Organizations

  • Carnegie Mellon University

Tags

Communities of Interest

  • Materials and Manufacturing Processes

DTIC Thesaurus Topics

  • Abstracts
  • Access Time
  • Algorithms
  • Coefficients
  • Computer Programming
  • Computer Science
  • Computers
  • Cost Models
  • Costs
  • Dynamic Loads
  • Information Operations
  • Instructions
  • Linear Programming
  • Optimization
  • Quadratic Programming
  • Test And Evaluation

Fields of Study

  • Computer science

Readers

  • Aerial Delivery - Logistics and Supply Chain Management.
  • Parallel and Distributed Computing.
  • Theoretical Analysis.