ACM Home Page
Please provide us with feedback. Feedback
An experiment in table driven code generation
Full text PdfPdf (1.04 MB)
Source Symposium on Compiler Construction archive
Proceedings of the 1982 SIGPLAN symposium on Compiler construction table of contents
Boston, Massachusetts, United States
Pages: 32 - 43  
Year of Publication: 1982
ISBN:0-89791-074-5
Also published in ...
Authors
Susan L. Graham  Computer Science Division, Department of Electrical Engineering and Computer Sciences, University of California, Berkeley, Berkeley, CA
Robert R. Henry  Computer Science Division, Department of Electrical Engineering and Computer Sciences, University of California, Berkeley, Berkeley, CA
Robert A. Schulman  Computer Science Division, Department of Electrical Engineering and Computer Sciences, University of California, Berkeley, Berkeley, CA
Sponsor
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 4,   Downloads (12 Months): 26,   Citation Count: 16
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

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

ABSTRACT

We have constructed a local code generator for the VAX-112 using a parser-like instruction pattern matcher. The code generator replaces the second pass of the UNIX3 Portable “Crdquo; compiler. This paper describes the design of the code generator and the special considerations imposed by the pattern matching process. We summarize the structure of the machine description grammar and its associated semantic actions, as well as the tools we developed to manipulate the large VAX description. In our experience, this approach makes the instruction selection phase of the compiler easier and faster to implement, and more likely to be correct than traditional techniques.


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
 
7
8
 
9
Graham, S.L. "Table Driven Code Generation", IEEE Computer 13(8), pp. 25-33 (August, 1980).
 
10
Gujral, I. S. Retargetable Code Generation for ADA10 Compilers, TP 127, Softech, Waltham, MA. (December, 1981).
 
11
Henry, R.R. "The Code Generator Generator's Work Station: Experiments with the Graham-Glanville Machine Independent Algorithms for Code Generation", Master's Project Report, UCB/ERL M81/47, Electronics Research Laboratory, University of California, Berkeley (June, 1981).
 
12
Jansohn, H.S. and Landwehr R. "CGSS: Ein System zur Automatischen Erzeugung von Codegeneratoren", Universitat Karlsruhe, Karlsruhe, West Germany (July, 1980).
 
13
Johnson, S.C. and Ritchie, D.M., "Portability of C programs and the UNIX System", Bell System Technical Journal 57(6), pp. 2021-2048 (July. 1979).
 
14
Johnson, S.C. Personal Communication, (July, 1981).
 
15
Joy, W.N., Graham, S.L., Haley, C.B. Berkeley Pascal User's Manual Version 1.1,. Computer Science Division, University of California, Berkeley. (April, 1979).
16
17
 
18
Schulman, R.A. "A Reimplementation of the Second Pass of the Portable C Compiler", Master's Project Report, Electronics Research Laboratory, University of California, Berkeley (to appear).
19

CITED BY  16

Collaborative Colleagues:
Susan L. Graham: colleagues
Robert R. Henry: colleagues
Robert A. Schulman: colleagues