• Home
  • Search
  • Optimal local register allocation for a multiple-issue machine
  • Cite Icon8
  • https://doi.org/10.1145/181181.181318Copy DOI Icon

Optimal local register allocation for a multiple-issue machine

  • Jan 1, 1994
  • Waleed M Meleis +1 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

This paper presents an algorithm that allocates registers optimally for straight-line code running on a generic multi-issue computer. On such a machine, an optimal register allocation is one that minimizes the number of issue slots that the code requires. Optimal spill selection and load/store placement are used to minimize the number of additional issue slots needed, given a schedule for the non-memory reference instructions and a fixed number of available physical registers. The generic multi-issue machine model closely models the operation of vector and VLIW processors, and could be extended to model super-scalar processors. The algorithm uses dynamic programming to search the state space of feasible register allocations; implicit and explicit state pruning are used to make the problem tractable without sacrificing optimality. The optimal allocation produced by the algorithm for a substantial example is presented.

Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.