Compiling Smalltalk-80 to a RISC.
Technical rept. 7 Aug 84-6 Aug 87,
CALIFORNIA UNIV BERKELEY DEPT OF COMPUTER SCIENCES
Pagination or Media Count:
The Smalltalk On A RISC project at U.C. Berkeley proved that good performance executing a high-level language on a modified RISC architecture was attainable. The system removed a layer of interpretation, translating bytecodes to a register-based instruction set. This paper describes the bytecode translator and how it was affected by SOAR architectural features. The translator generates code of reasonable density and speed. Because of bytecode semantics, relatively few optimizations are possible, but hardware and software mechanisms at runtime offset these limitations. Register allocation with register windows is the major task of the compiler. Several hardware features could be easily performed by the compiler.
- Computer Programming and Software
- Computer Hardware