Technical Reports


Display by Author:
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
Search by for:

TR-270-90
A Code Generation Interface for ANSI C
Authors: Fraser, Christopher W., Hanson, David R.
Date:June 1990
Pages:37 pages
Download Formats: [Postscript]
Abstract:
A Code Generation Interface for ANSI C is a retargetable, production compiler for ANSI C; versions for the VAX, the Motorola 68020 and MIPS have been in use for over a year and a half. It is smaller and faster than generally available alternatives, and its local code is about as good. This report describes the interface between the target-independent front end and the target-dependent back ends. The interface consists of shared data structures, a few functions, and a dag language. While this approach couples the front and back ends tightly, it results in an efficient, compact compiler. The interface is illustrated by detailing a complete code generator that emits naive VAS code.
This technical report has been published as
A Code Generation Interface for ANSI C. David R. Hanson and Christopher W. Fraser, Software--Practice and Experience 21(9) (1991) 963-988.