Lightweight Instruction Scheduling Algorithm for Just-in-time Compiler

SHI Xiao-hua,LIU Chao,JIN Mao-zhong,GUO Peng
DOI: https://doi.org/10.3969/j.issn.1000-3428.2007.15.002
2007-01-01
Abstract:This paper presents a novel lightweight algorithm of instruction scheduling for reducing the pipeline stalls on RISC micro-architecture with super pipelines.The algorithm is designed for and implemented in a J2ME JIT(just-in-time) compiler in memory constraint and time critical system.It is not based on DAG(directed acyclic graphs) or expression trees,but a novel data structure,namely EDM(extended dependency matrix).The algorithm has strict linear time complexity to the code length in the worst cases.It consumes only about 1KB constant memory space,to fit the small memory footprint for J2ME configurations.This algorithm has been chosen as the default instruction scheduling solution in the JIT compiler by Intel’s high-performance J2ME JVM,namely XORP.
What problem does this paper attempt to address?