file.pdf (140.1 kB)
Download file

A Preliminary Exploration of Optimized Stack Code Generation

Download (140.1 kB)
journal contribution
posted on 01.01.1995, 00:00 by Philip Koopman

This paper presents an experimental code generator that performs intra-block stack scheduling for a stack-based execution model. For small test programs, 91% to 100% of redundant local variable accesses were eliminated using this compiler. Compiled intra-block stack scheduling and hand-performed global stack scheduling show that significant opportunities exist to keep temporary variable values on the expression evaluation stack when compiling conventional languages.




Usage metrics