ACM Home Page
Please provide us with feedback. Feedback
Optimal Code Generation for Expression Trees
Full text PdfPdf (896 KB)
Source Journal of the ACM (JACM) archive
Volume 23 ,  Issue 3  (July 1976) table of contents
Pages: 488 - 501  
Year of Publication: 1976
ISSN:0004-5411
Authors
A. V. Aho  Bell Laboratories, Murray Hill, New Jersey
S. C. Johnson  Bell Laboratories, Murray Hill, New Jersey
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 14,   Downloads (12 Months): 92,   Citation Count: 62
Additional Information:

abstract   references   cited by   index terms   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/321958.321970
What is a DOI?

ABSTRACT

This paper discusses algorithms which transform expression trees into code for register machines. A necessary and sufficient condition for optimality of such an algorithm is derived, which applies to a broad class of machines. A dynamic programming algorithm is then presented which produces optimal code for any machine in this class; this algorithm runs in time linearly proportional to the size of the input.


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
AHO, A. V. , AND ULLMAN, J. D. Optimization of stratght line code SIAM J. Comput. 1, 1 (1972), 1-19.
3
4
5
6
 
7
KARP, R M Reducibility among combinatorial problems In Complextty of Computer Computattons, R E Miller and J W Thatcher, Eds, Plenum Press, New York, 1972, pp 85-103
8
 
9
10
11
 
12
SETHI, R Complete register allocation problems SlAM J Computing 4, 3 (Sept 1975), 226-248
13
 
14
15

CITED BY  62

Collaborative Colleagues:
A. V. Aho: colleagues
S. C. Johnson: colleagues