TY - GEN
T1 - A novel lightweight instruction scheduling algorithm for Just-In-Time compiler
AU - Shi, Xiaohua
AU - Guo, Peng
PY - 2009
Y1 - 2009
N2 - In this paper, we present a lightweight algorithm of instruction scheduling to reduce the pipeline stalls on XScale. The algorithm is designed for and implemented in a J2ME Just-In-Time (JIT) compiler. It is not based on Directed Acyclic Graphs (DAGs) or expression trees, but a novel data structure namely extended dependency matrix (EDM). The algorithm has almost linear time complexity to one order of magnitude less of the code length in practice, and linear to the code length in the worst cases. It consumes only about 1 KB constant memory space. On the benchmarks we studied, it can eliminate up to 41% data dependency stalls at runtime. The algorithm is on average 2 times faster than a list scheduling implementation, in terms of compilation time. On all benchmarks we studied, the performance is more than 90% as efficient as that obtained using more time and memory consuming algorithms on average.
AB - In this paper, we present a lightweight algorithm of instruction scheduling to reduce the pipeline stalls on XScale. The algorithm is designed for and implemented in a J2ME Just-In-Time (JIT) compiler. It is not based on Directed Acyclic Graphs (DAGs) or expression trees, but a novel data structure namely extended dependency matrix (EDM). The algorithm has almost linear time complexity to one order of magnitude less of the code length in practice, and linear to the code length in the worst cases. It consumes only about 1 KB constant memory space. On the benchmarks we studied, it can eliminate up to 41% data dependency stalls at runtime. The algorithm is on average 2 times faster than a list scheduling implementation, in terms of compilation time. On all benchmarks we studied, the performance is more than 90% as efficient as that obtained using more time and memory consuming algorithms on average.
KW - Instrution scheduling
KW - Just-In-Time compiler
UR - https://www.scopus.com/pages/publications/72849109676
U2 - 10.1109/WCSE.2009.39
DO - 10.1109/WCSE.2009.39
M3 - 会议稿件
AN - SCOPUS:72849109676
SN - 9780769535708
T3 - 2009 WRI World Congress on Software Engineering, WCSE 2009
SP - 73
EP - 77
BT - 2009 WRI World Congress on Software Engineering, WCSE 2009
T2 - 2009 WRI World Congress on Software Engineering, WCSE 2009
Y2 - 19 May 2009 through 21 May 2009
ER -