| An experiment in table driven code generation |
| Full text |
Pdf
(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 |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 3, Downloads (12 Months): 17, Citation Count: 16
|
|
|
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
|
Rudolf Landwehr , Hans-Stephan Jansohn , Gerhard Goos, Experience with an automatic code generator generator, Proceedings of the 1982 SIGPLAN symposium on Compiler construction, p.56-66, June 23-25, 1982, Boston, Massachusetts, United States
|
 |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Gert Goossens , Johan Van Praet , Dirk Lanneer , Werner Geurts , Augusli Kifli , Clifford Liem , Pierre G. Paulin, Embedded software in real-time signal processing systems: design technologies, Readings in hardware/software co-design, Kluwer Academic Publishers, Norwell, MA, 2001
|
Peer to Peer - Readers of this Article have also read:
-
Data structures for quadtree approximation and compression
Communications of the ACM
28, 9
Hanan Samet
-
A hierarchical single-key-lock access control using the Chinese remainder theorem
Proceedings of the 1992 ACM/SIGAPP Symposium on Applied computing
Kim S. Lee
, Huizhu Lu
, D. D. Fisher
-
The GemStone object database management system
Communications of the ACM
34, 10
Paul Butterworth
, Allen Otis
, Jacob Stein
-
Putting innovation to work: adoption strategies for multimedia communication systems
Communications of the ACM
34, 12
Ellen Francik
, Susan Ehrlich Rudman
, Donna Cooper
, Stephen Levine
-
An intelligent component database for behavioral synthesis
Proceedings of the 27th ACM/IEEE Design Automation Conference on
Gwo-Dong Chen
, Daniel D. Gajski
|