|
ABSTRACT
Easy as the task may seem, many compilers generate rather inefficient code. Some of the difficulty of generating good code may arise from the lack of realistic models for programming language and machine semantics. In this paper we show that the computational complexity of generating efficient code in realistic situations may also be a major cause of difficulty in the design of good compilers. We consider the problem of generating optimal code for a set of expressions. If the set of expressions has no common sub-expressions, then a number of efficient optimal code generation algorithms are known for wide classes of machines [SU, AJ, BL].
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
|
J. C. Beatty, "A Register Assignment Algorithm for Generation of Highly Optimised Object Code," IBM J. Res. Dev. 18,1 (January 1974), 20-39.
|
| |
5
|
L. A. Belady, "A Study of Replacement Algorithms for Virtual Storage Computers," IBM Syst. J., 5:2 (1966) 78-101.
|
 |
6
|
|
 |
7
|
|
| |
8
|
J. L. Bruno and R. Sethi, "Register Allocation for a One-Register Machine," TR-157, Computer Science Dept., Penn State Univ., University Park, Pa., Oct., 1974.
|
| |
9
|
S. Chen, "On the Sethi-Ullman Algoport #11, Bell Laboratories, Holmdel, N. J., May, 1973.
|
| |
10
|
|
| |
11
|
A. Demers, private communication.
|
 |
12
|
|
 |
13
|
|
 |
14
|
|
| |
15
|
R. Sethi, "Complete Register Allocation Problems," SIAM J. Computing 4,3 (September 1975), 226-248.
|
| |
16
|
R. Sethi, private communication.
|
 |
17
|
|
| |
18
|
|
| |
19
|
|
| |
20
|
|
|