ACM Home Page
Please provide us with feedback. Feedback
Engineering a production code generator
Full text PdfPdf (876 KB)
Source Symposium on Compiler Construction archive
Proceedings of the 1982 SIGPLAN symposium on Compiler construction table of contents
Boston, Massachusetts, United States
Pages: 205 - 215  
Year of Publication: 1982
ISBN:0-89791-074-5
Also published in ...
Author
John Crawford  Intel Corporation, Santa Clara, CA
Sponsor
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 3,   Downloads (12 Months): 24,   Citation Count: 5
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues   peer to peer  

Tools and Actions: Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/800230.806996
What is a DOI?

ABSTRACT

This paper describes the structure of a code generator formed by merging the best aspects of three code generation techniques: Graham-Glanville parser-driven code generation [G] [GG] [GR] [HG], the register allocation/spill mechanism from the Portable C Compiler [J], and a code template expander [W]. The Graham-Glanville method was modified to use a standard LALR parser and table builder, and the register allocation method was extended in several significant ways in order to make optimal use of a machine with characterized registers. This code generator is a part of the Pascal-86 compiler developed by Intel Corporation as one of several compilers supporting its iAPX-86 (8086) microprocessor family. The language supported by the compiler is an extension of the Draft International Standard Pascal, level 0. Object code generated by this method compares favorably to code produced by other compilers for the 8086, as well as Pascal compilers for other machines. Since its release in March 1981, the code generator has proved to be quite reliable and easy to maintain.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

1
 
2
 
3
 
4
5
 
6
S.L. Graham, "Table-Driven Code Generation", IEEE Computer, August 1980, pp. 25-34.
 
7
8
9
 
10
K. Ripken, "Formale Beschreibung von Maschinen, Implementierungen und Optimierender Maschinencode-erseugung aus Attributierten Programmgraphen", PhD Dissertation, Technische Universitat Munchen, 1977.
 
11
B. Speelpenning, "A Review of Ripken's Thesis", December 1977, unpublished.
12
 
13
 
14



Peer to Peer - Readers of this Article have also read: