|
ABSTRACT
An optimization technique known as inline substitution is analyzed. The optimization consists of replacing a procedure invocation by a modified copy of the procedure body. The general problem of using inline substitution to minimize execution time subject to size constraints is formulated, and an approximate algorithmic solution is proposed. The algorithm depends on run-time statistics about the program to be optimized. Preliminary results for the CLU structured programming language indicate that, in programs with a low degree of recursion, over 90 percent of all procedure calls can be eliminated, with little increase in the size of compiled code and a small savings in execution time. Other conclusions based on these results are also presented.
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
|
Atkinson, R.R. Optimization techniques for a structured programming language. S .M. Th., M.I .T., Cambridge, Mass., 1976.
|
| |
3
|
|
| |
4
|
Hoare, C.A.R., Quicksort. Comput. J. 5, 1 (April 1962), 10- 15.
|
| |
5
|
Galley, S.W., and Pfister, G. The MDL Primer and Manual. SYS.11.01, Lab. Comptr. Sci. M.I.T., Cambridge, Mass., 1975.
|
| |
6
|
Knuth, D.E. An empirical study of FORTRAN programs. Software - Practice and Experience 1,2 (April-June 1971), 105-133.
|
| |
7
|
Liskov, B.H., et al. Abstraction mechanisms in CLU. Computation Structures Group Memo 144-1. Lab. Comptr. Sci., M.I.T., Cambridge, Mass., Jan. 1977.
|
 |
8
|
|
 |
9
|
J. W. Backus , F. L. Bauer , J. Green , C. Katz , J. McCarthy , A. J. Perlis , H. Rutishauser , K. Samelson , B. Vauquois , J. H. Wegstein , A. van Wijngaarden , M. Woodger , P. Naur, Revised report on the algorithm language ALGOL 60, Communications of the ACM, v.6 n.1, p.1-17, Jan. 1963
[doi> 10.1145/366193.366201]
|
| |
10
|
Palm, R.C. A portable optimizer for the language C. S.M. Th., M.I.T., Cambridge, Mass., 1975.
|
| |
11
|
|
| |
12
|
Rivest, R.L. Private communication.
|
 |
13
|
|
| |
14
|
|
| |
15
|
Schneck, P.B., and Angel, E. A FORTRAN to FORTRAN optimizing compiler. Comput. J. 16, 4 (Nov. 1973), 322-330.
|
| |
16
|
Zelkowitz, M.V., and Bail, W.G. Optimization of structured programs. Software- Practice and Experience 4, 1 (Jan.-March 1974), 51-57.
|
CITED BY 46
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A. R. Pleszkun , J. R. Goodman , W. C. Hsu , R. T. Joersz , G. Bier , P. Woest , P. B. Schechter, WISQ: a restartable architecture using queues, Proceedings of the 14th annual international symposium on Computer architecture, p.290-299, June 02-05, 1987, Pittsburgh, Pennsylvania, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
D. S. Batory , J. R. Barnett , J. F. Garza , K. P. Smith , K. Tsukuda , C. Twichell , T. E. Wise, GENESIS: An Extensible Database Management System, IEEE Transactions on Software Engineering, v.14 n.11, p.1711-1730, November 1988
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
J. R. Goodman , Jian-tu Hsieh , Koujuch Liou , Andrew R. Pleszkun , P. B. Schechter , Honesty C. Young, PIPE: a VLSI decoupled architecture, ACM SIGARCH Computer Architecture News, v.13 n.3, p.20-27, June 1985
|
|
|
|
|
|
|
|
|
|
|