ACM Home Page
Please provide us with feedback. Feedback
Code generation using tree matching and dynamic programming
Full text PdfPdf (1.87 MB)
Source ACM Transactions on Programming Languages and Systems (TOPLAS) archive
Volume 11 ,  Issue 4  (October 1989) table of contents
Pages: 491 - 516  
Year of Publication: 1989
ISSN:0164-0925
Authors
Alfred V. Aho  AT&T Bell Labs, Murray Hill, NJ
Mahadevan Ganapathi  Stanford Univ., Stanford, CA
Steven W. K. Tjiang  AT&T Bell Labs, Murray Hill, NJ
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 32,   Downloads (12 Months): 270,   Citation Count: 61
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/69558.75700
What is a DOI?

ABSTRACT

Compiler-component generators, such as lexical analyzer generators and parser generators, have long been used to facilitate the construction of compilers. A tree-manipulation language called twig has been developed to help construct efficient code generators. Twig transforms a tree-translation scheme into a code generator that combines a fast top-down tree-pattern matching algorithm with dynamic programming. Twig has been used to specify and construct code generators for several experimental compilers targeted for different machines.


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
APPEL, A.W. Concise specifications of locally optimal code generators. Tech. Rep. CS-TR-080- 87, Dept. of Computer Science, Princeton University, Princeton, N.J., Feb. 1987.
10
11
 
12
CHOW, P., AND HOROWITZ, M. The MIPS-X microprocessor. In Proceedings of Wescon 1985 (San Francisco, Nov. 19-21, 1985). IEEE, New York, sec. 6-1, pp. 1-6.
13
14
 
15
16
17
 
18
19
 
20
21
 
22
23
 
24
 
25
GRAHAM, S.L. Table-driven code generation. IEEE Comput. 13, 8 (Aug. 1980), 25-34.
26
27
28
 
29
30
 
31
HUET, G., AND LEVY, J.-J. Call by need computations ill non-ambiguous linear term rewriting systems. Tech. Rep. 359, IRIA Laboria, LeChesnay, France, 1979.
32
33
34
 
35
 
36
LANG, H.-W., SCHIMMLER, M., AND SCHMECK, H. Me tching tree patterns sublinear on the average. Tech. Rep. Dept. of Informatik, University of Kisl, Kiel, West Germany, 1980.
 
37
LUNELL, H. Code Generator Writing Systems. Software Systems Research Center, S-58183, Linkoping, Sweden, 1983.
38
 
39
RIPKEN, K. Formale Beschreibun von Maschinen, Implementierungen und Optimierender Maschinen-codeerzeugung aus Attributierten Programml,~raphe. Tech. Rep. TUM-INFO-7731, Institut fur Informatik, Technische Universitat Munchen, Munich, West Germany, July 1977.
40
 
41
SNYDER, L. Recognition and selection of idioms for code optimization. Acta Inf. 17 (1982), 327-348.
 
42
TJIANG, S. W. K. Twig reference manual. Computing Science Tech. Rep. 120, AT&T Bell Laboratories, Murray Hill, N.J., 1985.
 
43
 
44
 
45
WULF, W.A. PQCC: A machine-relative compiler technology. In Proceedings of the IEEE 4th International COMPSAC Conference. IEEE, New York, 1980, pp. 24-36.
 
46
WULF, W., LEVERETT, B., CATTELL, R., HOBBS, S., NEV~ COMER, J., REINER, A., AND SCHATZ, B. An overview of the production quality compiler-compiler project. IEEE Comput. 13, 8 (Aug. 1980), 38-49.

CITED BY  61


REVIEW

"Martin Joseph Jourdan : Reviewer"

This paper describes a locally optimal code generation technique based on top-down tree pattern matching and dynamic programming, together with its implementation in the form of a language and system called twig. more...

Collaborative Colleagues:
Alfred V. Aho: colleagues
Mahadevan Ganapathi: colleagues
Steven W. K. Tjiang: colleagues