Skip to main content

A Hybrid Evolutionary Algorithm for Solving the Register Allocation Problem

  • Conference paper
Evolutionary Computation in Combinatorial Optimization (EvoCOP 2004)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 3004))

Abstract

One of the strong impacts on runtime performance of a given code is the register allocation phase of compilation. It is crucial to provide aggressive and sophisticated register allocators for the embedded devices, where the excessive compilation time is tolerated because of its off-line nature. In this paper, we present a hybrid evolutionary algorithm for register allocation problem that combines genetic algorithms with a local search technique. Our algorithm exploits a novel, highly-specialized crossover operator that considers domain-specific information. Computational experiments performed on various synthetic benchmarks prove that our method significantly outperform the state-of-the-art algorithms with respect to all given comparison metrics on solution quality.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Briggs, P., Cooper, K., Kennedy, K., Torczon, L.: Coloring Heuristics for Register Allocation. In: Proc. of SIGPLAN 89 Conference on Programming Language Design and Implementation, Portland, Oregon, pp. 275–284 (1989)

    Google Scholar 

  2. Briggs, P., Cooper, K., Torczon, L.: Improvements to Graph Coloring Register Allocation. ACM Transactions on Programming Languages and Systems 16(3), 428–455 (1994)

    Article  Google Scholar 

  3. Chaitin, G.J.: Register Allocation and Spilling via Graph Coloring. In: ACM SIGPLAN Conference on Programming Language Design and Implementation, pp. 98–105 (1982)

    Google Scholar 

  4. Chow, F., Hennessy, J.: Register Allocation by Priority-Based Coloring. In: Proc. of SIGPLAN 84 Symposium on Compiler Construction, Montreal, Quebec, pp. 222–232 (1984)

    Google Scholar 

  5. Norman, M.G., Moscato, P.: A Competitive and Cooperative Approach to Complex Combinatorial Search. In: Proc. of the 20th Informatics and Operations Research Meeting, Buenos Aires (August 1991)

    Google Scholar 

  6. Freisleben, B., Merz, P.: A Genetic Local Search Algorithm for Solving Symmetric and Asymmetric Traveling Salesman Problems. In: Proc. of the IEEE International Conference on Evolutionary Computation, pp. 616–621 (1996)

    Google Scholar 

  7. Fotakis, D.A., Likothanassis, S.D., Stefanakos, S.K.: An Evolutionary Annealing Approach to Graph Coloring. In: Boers, E.J.W., Gottlieb, J., Lanzi, P.L., Smith, R.E., Cagnoni, S., Hart, E., Raidl, G.R., Tijink, H. (eds.) EvoIASP 2001, EvoWorkshops 2001, EvoFlight 2001, EvoSTIM 2001, EvoCOP 2001, and EvoLearn 2001. LNCS, vol. 2037, pp. 120–129. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

  8. Brelaz, D.: New Methods to Color the Vertices of a Graph. Communications of the ACM 22(4), 251–256 (1979)

    Article  MATH  MathSciNet  Google Scholar 

  9. Galinier, P., Hao, J.-K.: Hybrid Evolutionary Algorithms for Graph Coloring. Journal of Combinatorial Optimization 3(4), 379–397 (1999)

    Article  MATH  MathSciNet  Google Scholar 

  10. Garey, M.R., Johnson, D.S.: Computers and Intractability: A Guide to the Theory of NP-Completeness. W. H. Freeman and Company, New York (1979)

    MATH  Google Scholar 

  11. Dorne, R., Hao, J.: A New Genetic Local Search Algorithm for Graph Coloring. In: Eiben, A.E., Bäck, T., Schoenauer, M., Schwefel, H.-P. (eds.) PPSN 1998. LNCS, vol. 1498, pp. 745–754. Springer, Heidelberg (1998)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Demiroz, B., Topcuoglu, H., Kandemir, M. (2004). A Hybrid Evolutionary Algorithm for Solving the Register Allocation Problem. In: Gottlieb, J., Raidl, G.R. (eds) Evolutionary Computation in Combinatorial Optimization. EvoCOP 2004. Lecture Notes in Computer Science, vol 3004. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-24652-7_7

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-24652-7_7

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-21367-3

  • Online ISBN: 978-3-540-24652-7

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics