𝔖 Bobbio Scriptorium
✦   LIBER   ✦

How to build an interference graph

✍ Scribed by Keith D. Cooper; Timothy J. Harvey; Linda Torczon


Publisher
John Wiley and Sons
Year
1998
Tongue
English
Weight
100 KB
Volume
28
Category
Article
ISSN
0038-0644

No coin nor oath required. For personal study only.

✦ Synopsis


The design and implementation of an interference graph is critical to the performance of a graphcoloring register allocator. The cost of constructing and manipulating the interference graph dominates the overall cost of allocation. The literature on graph-coloring register allocation suggests the use of a bit matrix coupled with lists of edges to represent the graph. [1][2][3] Recently, George and Appel 4 claimed that their tests show better results using a hash table. This paper examines the trade-offs between these two approaches. Our experiments were conducted with an optimistic, Chaitin-style register allocator. 5 We believe, however, that the lessons learned in the experiment are applicable to any program that needs to build and manipulate large graphs. For most graphs, we obtained our best results, in terms of both time and space, using a modification of the data structures suggested by both Chaitin and Briggs that we call the split bit-matrix method. On a few large graphs, we found that a closed hash-table with the universal hash function suggested by Cormen et al. 6 ran faster than the split bit-matrix method. We found one case where it used less space. This suggests that the split bit-matrix technique should be the method of choice, unless the compiler regularly encounters large interference graphs. In that case, the best strategy might be to implement both data structures behind a common interface, and switch between them based on graph size.


πŸ“œ SIMILAR VOLUMES


How to Build a Heart
✍ Maria Padian πŸ“‚ Fiction πŸ“… 2020 πŸ› Algonquin Books 🌐 en-US βš– 160 KB πŸ‘ 2 views

**One young woman's journey to find her place in the world as the carefully separated strands of her life -- family, money, school, and love -- begin to overlap and tangle. ** All sixteen-year-old Izzy Crawford wants is to feel like she really belongs somewhere. Her father, a marine, died in Iraq

How to build cheaper telescopes?
✍ Syuzo Isobe πŸ“‚ Article πŸ“… 1988 πŸ› Elsevier Science 🌐 English βš– 425 KB
How to build a barricade
✍ P. Frankl; J. Pach; V. RΓΆdl πŸ“‚ Article πŸ“… 1984 πŸ› Springer Vienna 🌐 English βš– 246 KB
How to Build a Universe
✍ Dick, Philip Kindred πŸ“‚ Fiction πŸ“… 0 🌐 English βš– 19 KB
How To Build a Person
✍ Pollock, John πŸ“‚ Fiction πŸ“… 0 🌐 English βš– 4 MB
How to build a myofibril
✍ Joseph W. Sanger; Songman Kang; Cornelia C. Siebrands; Nancy Freeman; Aiping Du; πŸ“‚ Article πŸ“… 2006 πŸ› Springer Netherlands 🌐 English βš– 663 KB