ACM Home Page
Please provide us with feedback. Feedback
Code Generation for a One-Register Machine
Full text PdfPdf (554 KB)
Source Journal of the ACM (JACM) archive
Volume 23 ,  Issue 3  (July 1976) table of contents
Pages: 502 - 510  
Year of Publication: 1976
ISSN:0004-5411
Authors
John Bruno  Computer Science Department, The Pennsylvania State University, University Park, Pennsylvania
Ravi Sethi  Computer Science Department, The Pennsylvania State University, University Park, Pennsylvania
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 4,   Downloads (12 Months): 43,   Citation Count: 33
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.321971
What is a DOI?

ABSTRACT

The majority of computers that have been built have performed all computations in devices called accumulators, or registers. In this paper, it is shown that the problem of generating minimal-length code for such machines is hard in a precise sense; specifically it is shown that the problem is NP-complete. The result is true even when the programs being translated are arithmetic expressions. Admittedly, the expressions in question can become complicated.


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
Ano, A.V., AND ULLMAN, J.D. Optimization of straight line programs SIAM J. Comput. 1, 1 (March 1972), 1-19.
4
5
6
 
7
CHROUST, G. Scope conserving expression evaluation. Proe. IFIP Cong. 1971, North-Holland Pub. Co, Amsterdam, pp 178-182.
8
9
10
 
11
SAHNI, S Computationally related problems SIAM J Comput S, 4 (Dec 1974), 262-279
 
12
S~.THI, R. Complete register allocation problems. SIAM J Comput. ~i, 3 (Sept. 1975), 226-248.
13
 
14
SHNV.H)ER, V. On the number of registers needed to evaluate arithmetic expressions BIT 11, 1 (1971), 84-93.
15

CITED BY  33