skip to main content
10.1145/800087.802810acmconferencesArticle/Chapter ViewAbstractPublication PageslfpConference Proceedingsconference-collections
Article
Free Access

Local optimization in a compiler for stack-based Lisp machines

Published:25 August 1980Publication History

ABSTRACT

We describe the local optimization phase of a compiler for translating the INTERLISP dialect of LISP into stack-architecture (0-address) instruction sets. We discuss the general organization of the compiler, and then describe the set of optimization techniques found most useful, based on empirical results gathered by compiling a large set of programs. The compiler and optimization phase are machine independent, in that they generate a stream of instructions for an abstract stack machine, which an assembler subsequently turns into the actual machine instructions. The compiler has been in successful use for several years, producing code for two different instruction sets.

References

  1. 1.Richard R. Burton, Larry M. Masinter, Daniel G. Bobrow, Willie Sue Haugeland, Ronald M. Kaplan and B. A. Sheil, "Overview and implementation status of DoradoLisp", to appear, 1980.Google ScholarGoogle Scholar
  2. 2.L. Peter Deutsch. "A Lisp machine with very compact programs". Proceedings of the Third International Joint Conference on Artificial Intelligence, Stanford, 1973.Google ScholarGoogle Scholar
  3. 3.L. Peter Deutsch. "Experience with a Microprogrammed Interlisp System". IEEE Micro-11 Conference, Asilomar, 1978. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 4.L. Peter Deutsch. "ByteLisp and its Alto Implementation". 1980 Lisp Conference, Stanford, August 1980. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. 5.Edward R. Fiala. "The Maxc Systems". IEEE Computer, 11:5, May 1978.Google ScholarGoogle Scholar
  6. 6.Martin L. Griss and Anthony C. Hearn. "A Portable LISP Compiler". Report UCP-76, Department of Computer Science, University of Utah, June 1979.Google ScholarGoogle Scholar
  7. 7.Guy L. Steele. "RABBIT: A Compiler for SCHEME (A Study in Compiler Optimization)". Report AI-TR-474, MIT Artificial Intelligence Laboratory, May 1978. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. 8.Warren Teitelman et al. INTERLISP Reference Manual. Xerox Palo Alto Research Center, October 1978.Google ScholarGoogle Scholar
  9. 9.Jaak Urmi. "A machine independent LISP compiler and its implications for ideal hardware". Linkoping Studies in Science and Technology Dissertations No. 22, Linkoping, Sweden, 1978. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Local optimization in a compiler for stack-based Lisp machines

            Recommendations

            Comments

            Login options

            Check if you have access through your login credentials or your institution to get full access on this article.

            Sign in
            • Published in

              cover image ACM Conferences
              LFP '80: Proceedings of the 1980 ACM conference on LISP and functional programming
              August 1980
              247 pages
              ISBN:9781450373968
              DOI:10.1145/800087

              Copyright © 1980 ACM

              Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

              Publisher

              Association for Computing Machinery

              New York, NY, United States

              Publication History

              • Published: 25 August 1980

              Permissions

              Request permissions about this article.

              Request Permissions

              Check for updates

              Qualifiers

              • Article

              Acceptance Rates

              Overall Acceptance Rate30of109submissions,28%

            PDF Format

            View or Download as a PDF file.

            PDF

            eReader

            View online with eReader.

            eReader