Solving the register allocation problem for embedded systems using a hybrid evolutionary algorithm


Topcuoglu H. R., Demiroz B., Kandemir M.

IEEE TRANSACTIONS ON EVOLUTIONARY COMPUTATION, cilt.11, sa.5, ss.620-634, 2007 (SCI-Expanded) identifier identifier

  • Yayın Türü: Makale / Tam Makale
  • Cilt numarası: 11 Sayı: 5
  • Basım Tarihi: 2007
  • Doi Numarası: 10.1109/tevc.2007.892766
  • Dergi Adı: IEEE TRANSACTIONS ON EVOLUTIONARY COMPUTATION
  • Derginin Tarandığı İndeksler: Science Citation Index Expanded (SCI-EXPANDED), Scopus
  • Sayfa Sayıları: ss.620-634
  • Anahtar Kelimeler: compilers, crossover, embedded systems, evolutionary algorithms (EAs), hybridization, register allocation, GENETIC ALGORITHM
  • Marmara Üniversitesi Adresli: Evet

Özet

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.