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

Haluk Rahmi Topcuoglu, Betul Demiroz, Mahmut Kandemir

Research output: Contribution to journalArticlepeer-review

18 Citations (SciVal)

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.

Original languageEnglish (US)
Pages (from-to)620-634
Number of pages15
JournalIEEE Transactions on Evolutionary Computation
Volume11
Issue number5
DOIs
StatePublished - Oct 2007

All Science Journal Classification (ASJC) codes

  • Software
  • Theoretical Computer Science
  • Computational Theory and Mathematics

Fingerprint

Dive into the research topics of 'Solving the register allocation problem for embedded systems using a hybrid evolutionary algorithm'. Together they form a unique fingerprint.

Cite this