{"id":{"repo_id":"rice","oai_identifier":"oai:repository.rice.edu:1911/17173"},"canonical_url":"https://search.ndltd.org/etd/rice/oai:repository.rice.edu:1911/17173","repository":{"repo_id":"rice","name":"Rice University","base_url":"https://repository.rice.edu/server/oai/request"},"display":{"title":"Reducing the impact of spill code","abstract":"All graph-coloring register allocators rely on heuristics to arrive at a \"good\" answer to the NP-complete problem of allocation, resulting in suboptimal code. We look at a post-pass to the allocator which removes unnecessary spill code by finding places where the availability of an unused register allows us to \"promote\" a spill to a register. We explain and correct an error in Briggs' code that sometimes inserts an excessive and unnecessary number of spill instructions. The fix to this bug has an insignificant impact on the runtime of the compiler and never causes a degradation in runtime of the code produced. We suggest minimizing the impact of the spill code through the use of a small separate memory dedicated to spills and under the exclusive control of the compiler. We show an algorithm and experimental results which suggest that this hardware construct would significantly decrease the runtime of the code.","abstract_html":"All graph-coloring register allocators rely on heuristics to arrive at a &quot;good&quot; answer to the NP-complete problem of allocation, resulting in suboptimal code. We look at a post-pass to the allocator which removes unnecessary spill code by finding places where the availability of an unused register allows us to &quot;promote&quot; a spill to a register. We explain and correct an error in Briggs&#x27; code that sometimes inserts an excessive and unnecessary number of spill instructions. The fix to this bug has an insignificant impact on the runtime of the compiler and never causes a degradation in runtime of the code produced. We suggest minimizing the impact of the spill code through the use of a small separate memory dedicated to spills and under the exclusive control of the compiler. We show an algorithm and experimental results which suggest that this hardware construct would significantly decrease the runtime of the code.","abstract_has_math":false,"creators":["Harvey, Timothy J."],"institution":"Rice University","degree_name":"Master of Science","degree_level":"Masters","degree_discipline":"Engineering","degree_department":"Computer Science","school":null,"contributors":[],"advisors":["Cooper, Keith D."],"committee_chairs":[],"committee_members":[],"year":1998,"date_issued":"1998","date_published":"1998","updated_at":"2026-11-19T09:21:18Z","subjects":["Computer science"],"languages":["eng"],"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."],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.callnumber","label":"Dc Identifier Callnumber","values":["THESIS COMP.SCI. 1998 HARVEY"],"render_values":[{"text":"THESIS COMP.SCI. 1998 HARVEY","href":null,"code":true}]},{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Harvey, Timothy J.. \"Reducing the impact of spill code.\" (1998) Master’s Thesis, Rice University. <a href=\"https://hdl.handle.net/1911/17173\">https://hdl.handle.net/1911/17173</a>."],"render_values":[{"text":"Harvey, Timothy J.. \"Reducing the impact of spill code.\" (1998) Master’s Thesis, Rice University. <a href=\"https://hdl.handle.net/1911/17173\">https://hdl.handle.net/1911/17173</a>.","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1911/17173","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1911/17173","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Arice%3Aoai%3Arepository.rice.edu%3A1911%2F17173","prefix":"oai_dc"},"source_record":{"url":"https://repository.rice.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Arepository.rice.edu%3A1911%2F17173","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Cooper, Keith D."]},{"key":"dc:creator","label":"Author","values":["Harvey, Timothy J."]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2009-06-04T06:52:03Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2009-06-04T06:52:03Z"]},{"key":"dc:date.issued","label":"Date","values":["1998"]},{"key":"dc:type","label":"Dc Type","values":["Thesis","Text"]},{"key":"thesis:degree_department","label":"Department","values":["Computer Science"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Engineering"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Rice University"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Computer science"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["eng"]},{"key":"dc:rights","label":"Dc Rights","values":["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."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.callnumber","label":"Dc Identifier Callnumber","values":["THESIS COMP.SCI. 1998 HARVEY"]},{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Harvey, Timothy J.. \"Reducing the impact of spill code.\" (1998) Master’s Thesis, Rice University. <a href=\"https://hdl.handle.net/1911/17173\">https://hdl.handle.net/1911/17173</a>."]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1911/17173"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["All graph-coloring register allocators rely on heuristics to arrive at a \"good\" answer to the NP-complete problem of allocation, resulting in suboptimal code. We look at a post-pass to the allocator which removes unnecessary spill code by finding places where the availability of an unused register allows us to \"promote\" a spill to a register. We explain and correct an error in Briggs' code that sometimes inserts an excessive and unnecessary number of spill instructions. The fix to this bug has an insignificant impact on the runtime of the compiler and never causes a degradation in runtime of the code produced. We suggest minimizing the impact of the spill code through the use of a small separate memory dedicated to spills and under the exclusive control of the compiler. We show an algorithm and experimental results which suggest that this hardware construct would significantly decrease the runtime of the code."]},{"key":"dc:format.extent","label":"Dc Format Extent","values":["52 p."]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Reducing the impact of spill code"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Cooper, Keith D."],"dc:creator":["Harvey, Timothy J."],"dc:date.accessioned":["2009-06-04T06:52:03Z"],"dc:date.available":["2009-06-04T06:52:03Z"],"dc:date.issued":["1998"],"dc:description.abstract":["All graph-coloring register allocators rely on heuristics to arrive at a \"good\" answer to the NP-complete problem of allocation, resulting in suboptimal code. We look at a post-pass to the allocator which removes unnecessary spill code by finding places where the availability of an unused register allows us to \"promote\" a spill to a register. We explain and correct an error in Briggs' code that sometimes inserts an excessive and unnecessary number of spill instructions. The fix to this bug has an insignificant impact on the runtime of the compiler and never causes a degradation in runtime of the code produced. We suggest minimizing the impact of the spill code through the use of a small separate memory dedicated to spills and under the exclusive control of the compiler. We show an algorithm and experimental results which suggest that this hardware construct would significantly decrease the runtime of the code."],"dc:format.extent":["52 p."],"dc:format.mimetype":["application/pdf"],"dc:identifier.callnumber":["THESIS COMP.SCI. 1998 HARVEY"],"dc:identifier.citation":["Harvey, Timothy J.. \"Reducing the impact of spill code.\" (1998) Master’s Thesis, Rice University. <a href=\"https://hdl.handle.net/1911/17173\">https://hdl.handle.net/1911/17173</a>."],"dc:identifier.uri":["https://hdl.handle.net/1911/17173"],"dc:language.iso":["eng"],"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."],"dc:subject":["Computer science"],"dc:title":["Reducing the impact of spill code"],"dc:type":["Thesis","Text"],"others:access_status":["open.access"],"thesis:degree_department":["Computer Science"],"thesis:degree_discipline":["Engineering"],"thesis:degree_level":["Masters"],"thesis:degree_name":["Master of Science"],"thesis:institution_name":["Rice University"]},"updated_at":"2026-11-19T09:21:18Z"}