Register allocation via coloring of chordal graphs

49Citations
Citations of this article
38Readers
Mendeley users who have this article in their library.
Get full text

Abstract

We present a simple algorithm for register allocation which is competitive with the iterated register coalescing algorithm of George and Appel. We base our algorithm on the observation that 95% of the methods in the Java 1.5 library have chordal interference graphs when compiled with the JoeQ compiler. A greedy algorithm can optimally color a chordal graph in time linear in the number of edges, and we can easily add powerful heuristics for spilling and coalescing. Our experiments show that the new algorithm produces better results than iterated register coalescing for settings with few registers and comparable results for settings with many registers. © Springer-Verlag Berlin Heidelberg 2005.

Cite

CITATION STYLE

APA

Pereira, F. M. Q., & Palsberg, J. (2005). Register allocation via coloring of chordal graphs. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 3780 LNCS, pp. 315–329). https://doi.org/10.1007/11575467_21

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free