Skip to main navigation Skip to search Skip to main content

Gras: A general framework for combining automatic code generation and register allocation

  • Department of Computer Science
  • North Carolina State University

Research output: Contribution to journal › Article › peer-review

Abstract

We present a system for producing retargetable code generators containing coloring-based register allocators. The compiler writer specifies the overall register characteristics of the target machine, as well as the specific register requirements of individual assembly instructions. A Code Generator Prepass processes the specific instruction requirements so that they can be considered during register allocation. We also present our notion of "generic" coloring algorithms which simplify the retargeting of register allocators to different architectures. The system is suitable for RISC and CISC architectures. © 1995.
Original languageEnglish
Pages (from-to)101-112
Number of pages12
JournalComputer Languages
Volume21
Issue number2
DOIs
StatePublished - Jan 1 1995

Keywords

  • code generation
  • compiler
  • register allocation

Fingerprint

Dive into the research topics of 'Gras: A general framework for combining automatic code generation and register allocation'. Together they form a unique fingerprint.

Cite this