MetaCart Sign in to MyCiteSeerX

Include Citations | Advanced Search | Help

Disambiguated Search | Include Citations | Advanced Search | Help

A Code Generation Interface for ANSI C (1991) [43 citations — 8 self]

Abstract:

lcc is a retargetable, production compiler for ANSI C; it has been ported to the VAX, Motorola 68020, SPARC, and MIPS R3000, and some versions have been in use for over two years. It is smaller and faster than generally available alternatives, and its local code is comparable. This report describes the interface between the targetindependent 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 efficient, compact compilers. The interface is illustrated by detailing a complete code generator that emits naive VAX code. 1 Introduction lcc is a retargetable compiler for ANSI C [1]. It has been ported to the VAX, Motorola 68020, SPARC, and MIPS R3000. It emits code that is comparable with that from other generally available C compilers, but it runs up to twice as fast and is about half the size [5]. lcc is in production use at Princeton...

Citations

82 The programming language Oberon – Wirth - 1988
62 Code selection through object code optimization – Davidson, Fraser - 1984
60 Using and Porting GNU CC. Free Software Foundation – Stallman - 1990
24 S.W.K Tjiang. Code Generation Using Tree Matching and Dynamic Programming – Aho, Ganapathi - 1989
24 Using peephole optimization on intermediate code – Tanenbaum, Staveren, et al. - 1982
21 Producing good code for the case statement – Bernstein - 1985
18 A language for writing code generators – Fraser - 1989
13 Simple register spilling in a retargetable compiler – Fraser, Hanson - 1992
7 Abstract Machine Modelling to Produce Portable – Newey, Poole, et al. - 1972
6 The design of very fast portable compilers – Tanenbaum, Kaashoek, et al. - 1989
3 ANDF: Finally an UNCOL after 30 years – Benitez, Chan, et al. - 1989
2 Pascal-P Implementation – Nori, Ammann, et al. - 1981
1 American National Standards for Information Systems, Programming Language C ANSI X3.159--1989 – Institute, Inc - 1990
1 A code generation ir.terface for ANSI C – Fraser, Hanson - 1990