期刊文献+

即时编译器中的轻量级指令调度算法

Lightweight Instruction Scheduling Algorithm for Just-in-time Compiler
下载PDF
导出
摘要 介绍了一种为即时编译器和时空受限系统设计的轻量级线性复杂指令调度算法。该算法进行指令调度时,不基于传统的DAG图或表达式树,而是基于一种独创的数据结构扩展关联矩阵,其时间复杂性在最坏情况下也能与全部指令长度构成严格的线性关系,仅占用不到1 KB的内存空间。该算法已被Intel为Xscale设计的高性能J2ME虚拟机XORP采用为即时编辑器中的缺省指令调度算法。 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.
出处 《计算机工程》 CAS CSCD 北大核心 2007年第15期3-6,共4页 Computer Engineering
基金 国家自然科学基金资助项目(60573084) 英特尔研究基金资助项目
关键词 指令调度 即时编译器 JAVA虚拟机 instruction scheduling just-in-time compiler Java virtual machine
  • 相关文献

参考文献7

  • 1Proebsting T A,Fischer C N.Linear-time,Optimal Code Scheduling for Delayed-load Architectures[C]//Proceedings of the ACM Conference on Programming Language Design and Implementation,Toronto,Ontario,Canada.1991.
  • 2Kurlander S M,Proebsting T A,Fischer C N.Efficient Instruction Scheduling for Delayed-load Architectures[J].ACM Transactions on Programming Languages and System,1995,17(5):740-776.
  • 3Goodman J R,Hsu W C.Code Scheduling and Register Allocation in Large Basic Blocks[C]//Proceedings of the 2nd International Conference on Supercomputing,St.Malo,France.1988.
  • 4Muchnick S S.Advanced Compiler Design and Implementation[M].USA:Academic Press,1997.
  • 5Smotherman M,Krishnamurthy S,Aravind P S,et al.Efficient DAG Construction and Heuristic Calculation for Instruction Scheduling[C] //Proceedings of the 24th Annual International Symposium on Microarchitecture.1991:93-102.
  • 6XScaleTM Microarchitecture Technical Summary[Z].(2003-01-01).ftp://download.intel.com/design/intelxscale/XScaleDatasheet4.pdf.
  • 7EEMBC Java Benchmarks[Z].(2007-02-01).http://www.eembc.org.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部