A formal approach to code optimization

Alfred V. Aho, Ravi Sethi, J. D. Ullman

Research output: Contribution to conferencePaperpeer-review

1 Scopus citations

Abstract

We examine from a formal point of view some problems which arise in code optimization and present some of the results which can come from such an approach. Specifically, a set of transformations which characterize optimization algorithms for straight line code is presented. Then we present an algorithm which produces machine code for evaluating arithmetic expressions on machines with N > 1 general purpose registers. We can prove that this algorithm produces optimal code when the cost criterion is the length of machine code generated.

Original languageEnglish (US)
Pages86-100
Number of pages15
DOIs
StatePublished - Jul 27 1970
Event1970 Symposium on Compiler Optimization - Urbana-Champaign, United States
Duration: Jul 27 1970Jul 28 1970

Other

Other1970 Symposium on Compiler Optimization
Country/TerritoryUnited States
CityUrbana-Champaign
Period7/27/707/28/70

ASJC Scopus subject areas

  • Hardware and Architecture

Fingerprint

Dive into the research topics of 'A formal approach to code optimization'. Together they form a unique fingerprint.

Cite this