Aliased Register Allocation for Straight-Line Programs Is NP-Complete

Source: University of California

Favorite

Free registration required

Register allocation is NP-complete in general but can be solved in linear time for straight-line programs where each variable has at most one definition point if the bank of registers is homogeneous. In this paper the authors study registers which may alias: an aliased register can be used either independently or in combination with an adjacent register. Such registers are found in commonly-used architectures such as x86, the HP PA-RISC, the Sun SPARC processor, and MIPS floating point. In 2004, Smith, Ramsey, and Holloway presented the best algorithm for aliased register allocation so far; their algorithm is based on a heuristic for coloring of general graphs.
Format:PDF Size:802.50
Date:May 2008