期刊文献+

代码优化与指令调度的集成 被引量:4

Integrating Code Optimization and Instruction Scheduling
下载PDF
导出
摘要 在开发指令级并行性的编译器中 ,如果代码优化和指令调度各自独立进行 ,将导致代码优化效果的下降甚至产生副作用 .文中针对这一问题 ,提出了代码优化和指令调度集成的思想 .在此思想的基础上 ,介绍了一个适合于代码优化集成的指令调度算法框架 ;并从优化的有效性、是否可逆和优化机会的产生等方面进行了分析 ,选出了适合集成入指令调度的传统优化种类 ;最后给出了这些优化的具体集成方法 .该文提出的方法已经在一个指令级并行编译器上进行了实验 ,实验数据证明 。 In the compilers to exploit instruction-level parallelism, code optimization applied separately with instruction scheduling will not lead to an ideal result or even generate negative effect. The idea of integrating the code optimization and instruction scheduling is put forward. Based on the idea, we first introduce a framework that is suitable for the integration of code optimization and instruction scheduling. Then, to integrate all kinds of proper code optimization into instruction scheduling properly, we analyze all kinds of traditional code optimization carefully. As a result, we picked out the optimization types, which are suitable to be integrated, by considering the aspects of efficiency, reversibility and opportunity of optimization. Finally, the detailed methods to integrate the selected optimization are given. In those methods, we mainly focus on two aspects: the profitability checking and the selection of optimization candidates. All methods in this paper have been implemented in an instruction level parallel compiler. According to the result of experiments, this method can improve the performance of code optimization obviously.
出处 《计算机学报》 EI CSCD 北大核心 2001年第7期694-701,共8页 Chinese Journal of Computers
基金 国家自然科学基金 (6993 3 0 2 0 )
关键词 代码优化 指令调度 寄存器分配 集成 编译程序 Optimization Program compilers
  • 相关文献

参考文献3

  • 1吴承勇,连瑞琦,张兆庆,乔如良.协作式全局指令调度与寄存器分配[J].计算机学报,2000,23(5):493-499. 被引量:3
  • 2Goodman J R,Proc'88 Int Conference on Supercomputing,1998年,442页
  • 3Berson D A,Proc Languages and Compilers for Parallel Computing LCPC'96,LNCS 1239,1996年,207页

二级参考文献3

共引文献2

同被引文献58

引证文献4

二级引证文献8

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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