• DocumentCode
    587701
  • Title

    Optimal register allocation by augmented left-edge algorithm on arbitrary control-flow structures

  • Author

    Ruvald Pedersen, Mark ; Madsen, J.

  • Author_Institution
    Dept. Inf. & Math. Modelling, Tech. Univ. of Denmark, Lyngby, Denmark
  • fYear
    2012
  • fDate
    12-13 Nov. 2012
  • Firstpage
    1
  • Lastpage
    6
  • Abstract
    A new algorithm for optimal register allocation in context of high-level synthesis is presented. In this paper we show how the greedy left-edge algorithm can be leveraged to obtain a globally optimal allocation, that is computed in polynomial time. By splitting variables at block boundaries, allows for allocation to be done using only quasi-local and local allocation - avoiding the complexity of true global allocation. As local allocation is much simpler than global allocation, this approach emphasizes efficiency and ease of implementation - at a cost of an increased number of register transfers compared to other allocators. Experiments show that runtime is linear for all practical purposes.
  • Keywords
    flow graphs; optimising compilers; arbitrary control-flow structures; augmented left-edge algorithm; block boundaries; global allocation; high-level synthesis; optimal register allocation; polynomial time; splitting variables; Registers; High-level synthesis; Register allocation;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    NORCHIP, 2012
  • Conference_Location
    Cpenhagen
  • Print_ISBN
    978-1-4673-2221-8
  • Electronic_ISBN
    978-1-4673-2222-5
  • Type

    conf

  • DOI
    10.1109/NORCHP.2012.6403107
  • Filename
    6403107