%0 Journal Article %A Koopman, Philip %D 1995 %T A Preliminary Exploration of Optimized Stack Code Generation %U https://kilthub.cmu.edu/articles/journal_contribution/A_Preliminary_Exploration_of_Optimized_Stack_Code_Generation/6620729 %R 10.1184/R1/6620729.v1 %2 https://kilthub.cmu.edu/ndownloader/files/12117131 %K Software Research %X

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.

%I Carnegie Mellon University