Compiling Smalltalk-80 to a RISC
Open Access
- 1 October 1987
- proceedings article
- Published by Association for Computing Machinery (ACM)
- p. 112-116
- https://doi.org/10.1145/36206.36192
Abstract
The Smalltalk On A RISC project at U. C. Berkeley proves that a high-level object-oriented language can attain high performance on a modified reduced instruction set architecture. The single most important optimization is the removal of a layer of interpretation, compiling the bytecoded virtual machine instructions into low-level, register-based, hardware instructions. This paper describes the compiler and how it was affected by SOAR architectural features. The compiler generates code of reasonable density and speed. Because of Smalltalk-80's semantics, relatively few optimizations are possible, but hardware and software mechanisms at runtime offset these limitations. Register allocation for an architecture with register windows comprises the major task of the compiler. Performance analysis suggests that SOAR is not simple enough; several hardware features could be efficiently replaced by instruction sequences constructed by the compiler.Keywords
This publication has 5 references indexed in Scilit:
- What Price Smalltalk?Computer, 1987
- SOAR: Smalltalk without bytecodesPublished by Association for Computing Machinery (ACM) ,1986
- Architecture of SOARPublished by Association for Computing Machinery (ACM) ,1984
- Efficient implementation of the smalltalk-80 systemPublished by Association for Computing Machinery (ACM) ,1984
- Machine-independent PASCAL code optimizationACM SIGPLAN Notices, 1979