ACM Home Page
Please provide us with feedback. Feedback
An optimistic and conservative register assignment heuristic for chordal graphs
Full text PdfPdf (342 KB)
Source
International Conference on Compilers, Architecture and Synthesis for Embedded Systems archive
Proceedings of the 2007 international conference on Compilers, architecture, and synthesis for embedded systems table of contents
Salzburg, Austria
SESSION: Compilation/code generation table of contents
Pages: 209 - 217  
Year of Publication: 2007
ISBN:978-1-59593-826-8
Authors
Philip Brisk  Ecole Polytechnique Federale de Lausanne
Ajay Kumar Verma  Ecole Polytechnique Federale de Lausanne
Paolo Ienne  Ecole Polytechnique Federale de Lausanne
Sponsors
ACM: Association for Computing Machinery
SIGBED: ACM Special Interest Group on Embedded Systems
SIGMICRO: ACM Special Interest Group on Microarchitectural Research and Processing
SIGDA: ACM Special Interest Group on Design Automation
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 4,   Downloads (12 Months): 46,   Citation Count: 0
Additional Information:

abstract   references   index terms   collaborative colleagues  

Tools and Actions: Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1289881.1289919
What is a DOI?

ABSTRACT

This paper presents a new register assignment heuristic for procedures in SSA Form, whose interference graphs are chordal; the heuristic is called optimistic chordal coloring (OCC). Previous register assignment heuristics eliminate copy instructions via coalescing, in other words, merging nodes in the interference graph. Node merging, however, can not preserve the chordal graph property, making it unappealing for SSA-based register allocation. OCC is based on graph coloring, but does not employ coalescing, and, consequently, preserves graph chordality, and does not increase its chromatic number; in this sense, OCC is conservative as well as optimistic. OCC is observed to eliminate at least as many dynamically executed copy instructions as iterated register coalescing (IRC) for a set of chordal interference graphs generated from several Mediabench and MiBench applications. In many cases, OCC and IRC were able to find optimal or near-optimal solutions for these graphs. OCC ran 1.89x faster than IRC, on average.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
Bouchez, F., Darte, A., Guillon, C., and Rastello, F. Register Allocation and Spill Complexity Under SSA, Technical Report 2005-33, ENS-Lyon, Lyon France, 2005.
 
2
Bouchez, F., Darte, A., Guillon, C., and Rastello, F. Register allocation : what does the NP-Completeness proof of Chaitin et al. really prove? Or revisting register allocation: why and how. In Proc. of the 19th International Workshop on Languages and Compilers for Parallel Computing (LCPC '06), (New Orleans, LA, USA, November 2-4, 2006).
 
3
 
4
5
 
6
Brisk, P., Dabiri, F., Jafari, R., and Sarrafzadeh, M. Optimal register sharing for high-level synthesis of SSA form programs. IEEE Trans. Computer Aided Design, vol. 25, no. 25, May, 2006, 772--779.
7
8
9
10
 
11
Gavril, F. Algorithms for minimum coloring, maximum clique, minimum coloring by cliques, and maximum independent set of a chordal graph. SIAM J. Comput., vol. 1, no. 2, June, 1972, 180--187.
12
 
13
Grund, D., and Hack, S. A fast cutting-plane algorithm for optimal coalescing. In Proc. of the 16th International Conference on Compiler Construction (CC '07) (Lisbon, Portugal, March 26-27, 2007) 111--125.
 
14
 
15
 
16
Hack, S., Grund, D., and Goos, G. Register allocation for programs in SSA Form, In Proc. of the 15th International Conference on Compiler Construction (CC '06) (Vienna, Austria, March 30-31, 2006) 247--262.
17
 
18
Kaluskar, V. P. An Aggressive Live Range Splitting and Coalescing Framework for Efficient Register Allocation. M. S. Thesis, Georgia Institute of Technology, November, 2003.
 
19
Kempe, A. B. On the geographical problem of the four colors. American Journal of Mathematics, vol. 2, 1879, 193--200.
 
20
21
22
23
 
24
 
25
Smith, M. D., and Holloway, G. An introduction to Machine SUIF and its portable libraries for analysis and optimization. Technical Report. Harvard University. July 15, 2002.
 
26
 
27
28

Collaborative Colleagues:
Philip Brisk: colleagues
Ajay Kumar Verma: colleagues
Paolo Ienne: colleagues