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-303-91
A Retargetable Compiler for ANSI C
Authors: Fraser, Christopher W., Hanson, David R.
Date:February 1991
Pages:20
Download Formats: [Postscript]
Abstract:
Lcc is a new retargetable compiler for ANSI C. Versions for the VAX, Motorola 68020, SPARC, and MIPS are in production use at Princeton University and at AT&T Bell Laboratories. With a few exceptions, little about lcc is unusual -- it integrates several well-engineered, existing techniques -- but it is smaller and faster than most other C compilers, and it generates code of comparable quality. Lcc's target-independent front end performs a few simple, but effective, optimizations that contribute to good code; examples include simulating register declarations and partitioning switch statement cases into dense tables. It also implements target-independent function tracing and expression-level profiling.
This technical report has been published as
A Retargetable Compiler for ANSI C. Christopher W Fraser and David R. Hanson, SIGPLAN Notices 26(4) 1991, pp. 29-43; see also lcc.