• DocumentCode
    2705114
  • Title

    A progressive register allocator for irregular architectures

  • Author

    Koes, David ; Goldstein, Seth Copen

  • Author_Institution
    Dept. of Comput. Sci., Carnegie Mellon Univ., Pittsburgh, PA, USA
  • fYear
    2005
  • fDate
    20-23 March 2005
  • Firstpage
    269
  • Lastpage
    279
  • Abstract
    Register allocation is one of the most important optimizations a compiler performs. Conventional graph-coloring based register allocators are fast and do well on regular, RISC-like, architectures, but perform poorly on irregular, CISC-like, architectures with few registers and non-orthogonal instruction sets. At the other extreme, optimal register allocators based on integer linear programming are capable of fully modeling and exploiting the peculiarities of irregular architectures but do not scale well. We introduce the idea of a progressive allocator. A progressive allocator finds an initial allocation of quality comparable to a conventional allocator, but as more time is allowed for computation the quality of the allocation approaches optimal. This paper presents a progressive register allocator which uses a multi-commodity network flow model to elegantly represent the intricacies of irregular architectures. We evaluate our allocator as a substitute for gcc ´s local register allocation pass.
  • Keywords
    graph colouring; instruction sets; optimising compilers; reduced instruction set computing; storage allocation; CISC-like architecture; RISC-like architecture; graph-coloring based register allocator; integer linear programming; irregular architecture; multicommodity network flow model; nonorthogonal instruction set; optimal register allocator; optimization compiler; register allocation; Computer architecture; Computer science; Cost function; Instruction sets; Integer linear programming; National electric code; Optimizing compilers; Registers; Sections; Thumb;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Code Generation and Optimization, 2005. CGO 2005. International Symposium on
  • Print_ISBN
    0-7695-2298-X
  • Type

    conf

  • DOI
    10.1109/CGO.2005.4
  • Filename
    1402094