| Code Generation for a One-Register Machine |
| Full text |
Pdf
(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 |
|
| Bibliometrics |
Downloads (6 Weeks): 5, Downloads (12 Months): 45, Citation Count: 33
|
|
|
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
|
|
|
|
|
|
|
|
Dirk-Jan Jongeneel , Yosinori Watanbe , Robert K. Brayton , Ralph Otten, Area and search space control for technology mapping, Proceedings of the 37th conference on Design automation, p.86-91, June 05-09, 2000, Los Angeles, California, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Gert Goossens , Johan Van Praet , Dirk Lanneer , Werner Geurts , Augusli Kifli , Clifford Liem , Pierre G. Paulin, Embedded software in real-time signal processing systems: design technologies, Readings in hardware/software co-design, Kluwer Academic Publishers, Norwell, MA, 2001
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|