Back to search

Rice University

Tuning a priority-based register allocator using adaptive compilation

Abstract

dc:description.abstract

Register allocation is a long studied optimization in compiler construction because it provides great opportunity for improving execution time. Adaptive compilation is a relatively new technique that uses repeated compilation and search to find effective parameters for compiler optimizations. We examine the priority-based graph-coloring register-allocation algorithm in the context of an adaptive compiler. The priority-based algorithm was selected because it is well known, but little information exists on how it should be tuned to produce good results or how it compares with competing algorithms. We show that adaptive compilation can be used to improve the performance of a priority-based allocator. Aggressive tuning through adaptive compilation enables us to fairly compare against the Chaitin-Briggs algorithm for register allocation. We found the standard priority-based allocator was, on average, 16-9% worse than Chaitin-Briggs. Adaptive compilation enabled the priority-based allocator to close this performance gap and slightly outperform Chaitin-Briggs by an average of 1%.

Degree

thesis:*
Name thesis:degree_name
Master of Science
Level thesis:degree_level
Masters
Discipline thesis:degree_discipline
Engineering
Department thesis:degree_department
Computer Science
Grantor
Rice University
Year dc:date.issued
2008

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Peixotto, David M.
Advisor dc:contributor.advisor
  • Cooper, Keith D.

Subjects

dc:subject × 2

Rights

dc:rights
Statement dc:rights
  • Copyright is held by the author, unless otherwise indicated. Permission to reuse, publish, or reproduce the work beyond the bounds of fair use or other exemptions to copyright law must be obtained from the copyright holder.
Language dc:language.iso
eng

Identifiers

dc:identifier.*
Dc Identifier Callnumber
THESIS COMP.SCI. 2008 PEIXOTTO
Dc Identifier Citation
Peixotto, David M.. "Tuning a priority-based register allocator using adaptive compilation." (2008) Master’s Thesis, Rice University. <a href="https://hdl.handle.net/1911/103618">https://hdl.handle.net/1911/103618</a>.
Dc Identifier Other
304511069

Chain of custody

source
Harvested from
Rice University
Base URL
repository.rice.edu/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Peixotto, David M.. Tuning a priority-based register allocator using adaptive compilation. Masters thesis, Rice University, 2008. https://hdl.handle.net/1911/103618