skip to main content
10.1145/502874.502885acmconferencesArticle/Chapter ViewAbstractPublication PagesplanConference Proceedingsconference-collections
Article
Free access

Automatic generation of peephole optimizations

Published: 01 June 1984 Publication History

Abstract

This paper describes a system that automatically generates peephole optimizations. A general peephole optimizer driven by a machine description produces optimizations at compile-compile time for a fast, pattern-directed, compile-time optimizer. They form part of a compiler that simplifies retargeting by substituting peephole optimization for case analysis.

References

[1]
J. T. Bagwell, Jr., Local Optimizations, SIGPLANNotices 5, 7 (July 1970), 52-66.
[2]
T. Crowley, Combining Table-driven Effect Selection and Description-Driven Peephole Optimization for Automatic Code Generation, MS thesis, MIT, September 1982.
[3]
J. W. Davidson and C. W. Fraser, The Design and Application of a Retargetable Peephole Optimizer, A CM Trans. Prog. Lang. and Systems 2, 2 (April 1980), 191-202.
[4]
J. W. Davidson, Simplifying Code Generation Through Peephole Optimization, PhD dissertation, University of Arizona, December 1981.
[5]
J. W. Davidson and C. W. Fraser, Code Selection Through Object Code Optimization, A CM Trans. Prog. Lang. and Systems, to appear.
[6]
M. Ganapathi, C. N. Fischer and J. L. Hennessy, Retargetable Compiler Code Generation, Computing Surveys 14, 4 (December 1982), 573-592.
[7]
R. Giegerich, A Formal Framework for the Derivation of Machine-Specific Optimizers, A CM Trans. Prog. Lang. and Systems 5, 3 (July 1983), 478-498.
[8]
D.R. Hanson, The Y Programming Language, SIG PLAN Notices 16, 2 ( Feb. 1981), 59-68.
[9]
W. Harrison, A New Strategy for Code Generation - The General Purpose Optimizing Compiler, Conf. Rec. 4th ACM Syrup. on Prin. of Programming Languages, January 1977, 29-37.
[10]
S.C. Johnson, A Portable Compiler: Theory and Practice, Conf. Rec. 5th A CM Syrup. on Prin. of Programming Languages, Jan. 1978, 97-104.
[11]
P. B. Kessler, Machine Dependencies in Retargetable Compiler Construction, Dissertation proposal, Department of Electrical Engineering and Computer Science, University of California, Berkeley, May 1982.
[12]
R.R. Kessler, Peephole Optimization in COG, Operating Note 76, Utah Symbolic Computation Group, Computer Science Department, University of Utah, June 1983.
[13]
D.E. Knuth, An Empirical Study of Fortran Programs, Software--Practice & Experience 1, 2 (April-June 1971), 105-133.
[14]
D. A. Lamb, Construction of a Peephole Optimizer, Software--Practice & Experience 11(1981), 638-647.
[15]
W. M. McKeeman, Peephole Optimization, Comm. ACMS, 7 (July 1965), 443-444.
[16]
A.S. Tanenbaum, H. van Staveren and J. W. Stevenson, Using Peephole Optimization on Intermediate Code, A CM Trans. Prog. Lang. and Systems 4, I (January 1982), 21-36.
[17]
W. Wulf, R. K. Johnsson, C. B. Weinstock, S. O. Hobbs and C. M. Geschke, The Design of an Optimizing Compiler, North Holland, 1975.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
SIGPLAN '84: Proceedings of the 1984 SIGPLAN symposium on Compiler construction
June 1984
328 pages
ISBN:0897911393
DOI:10.1145/502874
  • cover image ACM SIGPLAN Notices
    ACM SIGPLAN Notices  Volume 19, Issue 6
    Proceedings of the SIGPLAN '84 symposium on compiler construction
    June 1984
    318 pages
    ISSN:0362-1340
    EISSN:1558-1160
    DOI:10.1145/502949
    Issue’s Table of Contents

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 June 1984

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)183
  • Downloads (Last 6 weeks)18
Reflects downloads up to 25 Dec 2024

Other Metrics

Citations

Cited By

View all

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media