Global register allocation using program structure
The Chaitin-Briggs approach to register allocation by graph coloring is the dominant method used in industrial and research compilers. It usually produces highly-efficient allocations, but sometimes exhibits pathological spilling behavior so that some programs execute significantly more spill operat...
Main Author: | |
---|---|
Other Authors: | |
Format: | Others |
Language: | English |
Published: |
2009
|
Subjects: | |
Online Access: | http://hdl.handle.net/1911/17773 |
id |
ndltd-RICE-oai-scholarship.rice.edu-1911-17773 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-RICE-oai-scholarship.rice.edu-1911-177732013-10-23T04:10:37ZGlobal register allocation using program structureEckhardt, JasonComputer ScienceThe Chaitin-Briggs approach to register allocation by graph coloring is the dominant method used in industrial and research compilers. It usually produces highly-efficient allocations, but sometimes exhibits pathological spilling behavior so that some programs execute significantly more spill operations than is necessary. This thesis examines and improves two previously proposed approaches of attacking this problem. Passive splitting attempts a lazy form of live range splitting which can substantially reduce dynamic spill count compared to Chaitin-Briggs. We incorporate program structure into the passive splitting framework to better guide splitting decisions and to place splits at infrequently executed regions of code. Also investigated is the Hierarchical Graph Coloring approach, which uses program structure during allocation. We provide an empirical evaluation of this poorly-understood algorithm, and propose some improvements.Cooper, Keith D.2009-06-04T06:22:36Z2009-06-04T06:22:36Z2005ThesisText67 p.application/pdfhttp://hdl.handle.net/1911/17773eng |
collection |
NDLTD |
language |
English |
format |
Others
|
sources |
NDLTD |
topic |
Computer Science |
spellingShingle |
Computer Science Eckhardt, Jason Global register allocation using program structure |
description |
The Chaitin-Briggs approach to register allocation by graph coloring is the dominant method used in industrial and research compilers. It usually produces highly-efficient allocations, but sometimes exhibits pathological spilling behavior so that some programs execute significantly more spill operations than is necessary. This thesis examines and improves two previously proposed approaches of attacking this problem. Passive splitting attempts a lazy form of live range splitting which can substantially reduce dynamic spill count compared to Chaitin-Briggs. We incorporate program structure into the passive splitting framework to better guide splitting decisions and to place splits at infrequently executed regions of code. Also investigated is the Hierarchical Graph Coloring approach, which uses program structure during allocation. We provide an empirical evaluation of this poorly-understood algorithm, and propose some improvements. |
author2 |
Cooper, Keith D. |
author_facet |
Cooper, Keith D. Eckhardt, Jason |
author |
Eckhardt, Jason |
author_sort |
Eckhardt, Jason |
title |
Global register allocation using program structure |
title_short |
Global register allocation using program structure |
title_full |
Global register allocation using program structure |
title_fullStr |
Global register allocation using program structure |
title_full_unstemmed |
Global register allocation using program structure |
title_sort |
global register allocation using program structure |
publishDate |
2009 |
url |
http://hdl.handle.net/1911/17773 |
work_keys_str_mv |
AT eckhardtjason globalregisterallocationusingprogramstructure |
_version_ |
1716610637787824128 |