ACM Home Page
Please provide us with feedback. Feedback
Affix grammar driven code generation
Full text PdfPdf (3.19 MB)
Source ACM Transactions on Programming Languages and Systems (TOPLAS) archive
Volume 7 ,  Issue 4  (October 1985) table of contents
Pages: 560 - 599  
Year of Publication: 1985
ISSN:0164-0925
Authors
Mahadevan Ganapathi  Stanford Univ., Stanford, CA
Charles N. Fischer  Univ. of Wisconsin-Madison, Madison
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 6,   Downloads (12 Months): 36,   Citation Count: 13
Additional Information:

abstract   references   cited by   index terms   review   collaborative colleagues  

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

ABSTRACT

Affix grammars are used to describe the instruction set of a target architecture for purposes of compiler code generation. A code generator is obtained automatically for a compiler using attributed parsing techniques. A compiler built on this model can automatically perform most popular machine-dependent optimizations, including peephole optimizations. Code generators based on this model demonstrate retargetability for the VAX1-11, iAPX2-86, Z-80003, PDP4-11, MC-68000, NS32032, FOM, and IBM-370 architectures.


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
AHO, A.V. Translator writing systems: Where do they now stand? IEEE Comput. 13, 8 (1980), 9-14.
2
 
3
 
4
5
 
6
ANDERSON, T., EVE, J., AND HORNING, J.J. Efficient LR(1) parsers. Acta Inf. 2, 1 (1973), 12-39.
 
7
BRANTLEY, W. C., AND WEISS, J. FOM: A Fortran optimized machine--A high performance, high-level language machine. IBM Res. Rep. RC 9640 (no. 40815), 1982. Also in Proceedings of the International Workshop on High-Level Language Computer Architecture (Fort Lauderdale, Fla., Nov. 30-Dec. 3, 1982).
 
8
BRANTLE~, W. C., AND WEISS, J. Organization and architecture trade-offs in FOM. IBM Res. Rep. RC9700 (no. 42748), 1982. Also in Proceedings of the International Workshop on Computer Systems Organization (New Orleans, La., Mar. 29-31, 1983).
9
10
 
11
 
12
CHOW, F. C., AND GANAPATHI, M. Intermediate languages in compiler construction--a bibliography. ACM SIGPLAN Not. 18, 11 (Nov. 1983).
 
13
CROWLE~, T.R. Combining table-driven effect selection and description-driven peephole optimization for automatic code generation. M.S. thesis, MIT. Also Tech. Rep., Bell Laboratories, Dept. 45412, Sept. 1982.
14
 
15
FISCHER, C. $., GANAPATHI, M., AND LEBLANC, R.J. A simple and practical implementation of predicates in context-free parsers. Computer Sciences Tech. Rep. 493, Univ. of Wisconsin- Madison, Apr. 1983.
 
16
 
17
18
19
20
 
21
GANAPATHI, M., AND FISCHER, C. $. Automatic compiler code generation and reusable machine-dependent optimization--a revised bibliography. ACM SIGPLAN Not. 18, 4 (Apr. 1983), 27-34.
 
22
 
23
 
24
 
25
GIEGERICH, R. Automatic generation of machine-specific code optimizers. ACM Trans. Program. Lang. Syst. (July 1983).
 
26
27
28
29
30
 
31
 
32
JOHNSON, S.C. YACC--y~t another compiler compiler. Computer Sciences Tech. Rep. 32, Bell Telephone Laboratories, Murray Hill, N. J., 1975.
33
 
34
KOSTER, C. H.A. Affix grammars. In ALGOL 68 Implementation, J. E. L. Peck, Ed., North- Holland, Amsterdam, 1971.
35
 
36
 
37
LEVERETT, B.W. Topics in code generation and register allocation. Tech. Rep. CMU CS-82- 130, July 1982.
 
38
LUNELL, $. Code generator writing systems. Software Systems Research Center, S-58183, Linkoping, Sweden, 1983.
 
39
MAUNEY, J., AND FISCHER, C.N. ECP--an error correcting parser generator: User guide. Tech. Rep. 450, Computer Sciences Dept., Univ. of Wisconsin-Madison, Oct. 1981.
40
41
 
42
PURDOM, P. AND BROWN, C.A. Semantic routines and LR(k) parsers. Acta Inf. 14, 4 (1980), 299-316.
43
44
 
45
WAll', D.A. The parsing problem for affix grammars. Acta In{. 8 (1977).
 
46
 
47
WULF, W., LEVERETT, B. W., CATTELL, R. G. G., HOBES, S. O., NEWCOMER, J. M., REINER, A. H., AND SCHATZ, B. R. An overview of the production-quality compiler-compiler project. IEEE Comput. 13, 8 (Aug. 1980), 38-49.
 
48
WULg, W., ANO GOOS, G. EDS. DIANA Re{erence Manual. Tech. Rep. CMU-CS-81-101, Computer Sciences Dept., Carnegie Mellon Univ., Mar. 1981.

CITED BY  13


REVIEW

"William M. Waite : Reviewer"

After a brief review of table-driven code generation, the paper summarizes an “attributed prefix intermediate representation” that serves as the interface between analysis and synthesis. This representation is a prefix linearization   more...

Collaborative Colleagues:
Mahadevan Ganapathi: colleagues
Charles N. Fischer: colleagues