• DocumentCode
    899439
  • Title

    Solving the Register Allocation Problem for Embedded Systems Using a Hybrid Evolutionary Algorithm

  • Author

    Topcuoglu, Haluk Rahmi ; Demiroz, Betul ; Kandemir, Mahmut

  • Author_Institution
    Marmara Univ., Istanbul
  • Volume
    11
  • Issue
    5
  • fYear
    2007
  • Firstpage
    620
  • Lastpage
    634
  • Abstract
    Embedded systems are unique in the challenges they present to application programmers, such as power and memory space constraints. These characteristics make it imperative to design customized compiler passes. One of the important factors that shape runtime performance of a given embedded code is the register allocation phase of compilation. It is crucial to provide aggressive and sophisticated register allocators for embedded devices, where the excessive compilation time can be tolerated due to high demand on code quality. Failing to do a good job on allocating variables to registers (i.e., determining the set of variables to be stored in the limited number of registers) can have serious power, performance, and code size consequences. This paper explores the possibility of employing a hybrid evolutionary algorithm for register allocation problem in embedded systems. The proposed solution combines genetic algorithms with a local search technique. The algorithm exploits a novel, highly specialized crossover operator that takes into account domain-specific information. The results from our implementation based on synthetic benchmarks and routines that are extracted from well-known benchmark suites clearly show that the proposed approach is very successful in allocating registers to variables. In addition, our experimental evaluation also indicates that it outperforms a state-of-the-art register allocation heuristic based on graph coloring for most of the cases experimented.
  • Keywords
    embedded systems; genetic algorithms; graph colouring; program compilers; search problems; storage allocation; embedded system; genetic algorithm; graph coloring; hybrid evolutionary algorithm; register allocation problem; Application software; Costs; Embedded system; Evolutionary computation; Memory management; Optimizing compilers; Programming profession; Registers; Runtime; Shape; Compilers; crossover; embedded systems; evolutionary algorithms (EAs); hybridization; register allocation;
  • fLanguage
    English
  • Journal_Title
    Evolutionary Computation, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    1089-778X
  • Type

    jour

  • DOI
    10.1109/TEVC.2007.892766
  • Filename
    4336128