ACM Home Page
Please provide us with feedback. Feedback
Code Generation for Expressions with Common Subexpressions
Full text PdfPdf (847 KB)
Source Journal of the ACM (JACM) archive
Volume 24 ,  Issue 1  (January 1977) table of contents
Pages: 146 - 160  
Year of Publication: 1977
ISSN:0004-5411
Authors
A. V. Aho  Bell Laboratories, Murray Hill, NJ
S. C. Johnson  Bell Laboratories, Murray Hill, NJ
J. D. Ullman  Dept. of EECS, Princeton University, Princeton, NJ
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 5,   Downloads (12 Months): 78,   Citation Count: 43
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/321992.322001
What is a DOI?

ABSTRACT

This paper shows the problem of generating optimal code for expressions containing common subexpressions is computationally difficult, even for simple expressions and simple machines. Some heuristics for code generation are given and their worst-case behavior is analyzed. For one register machines, an optimal code generation algorithm is given whose time complexity is linear in the size of an expression and exponential only in the amount of sharing.


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
BEA'r'rY, j C A register assignment algorithm for generation of highly optimized object code. IBM J Res Develop. 18, 1 (Jan 1974), 20-39
 
5
BELADY, L A A study of replacement algorithms for virtual storage computers. IBM Syst. J 5, 2 (1966), 78-101
6
7
8
 
9
CHEN, S On the Setht-Ullman algorithm int Z Comp. Math, A, 5 (1975), 37-55
 
10
 
11
DEMERS, A Private commumcatlon
12
13
14
 
15
SETm, R Complete register allocation problems SIAM J Computmg 4, 3 (Sept 1975), 226-248
 
16
SETHI, R Private commumcatlon
17
 
18
 
19
 
20

CITED BY  43

Collaborative Colleagues:
A. V. Aho: colleagues
S. C. Johnson: colleagues
J. D. Ullman: colleagues