摘要
基于剖视的优化技术根据程序先前运行时收集的剖视信息来指导编译优化。文章给出了一种在GCC中基于值剖视的代码特例化实现方法。NPB和SPEC CPU2000基准程序测试结果表明,该代码特例化方法能够有效提高程序性能,同时引入的开销较小。
Profile driven optimization technique can guide the compiling optimization of a program according to the information collected during its former running.The paper gives an approach to implementing code specialization based on value profiling in GCC.The results of experiments on NPB and SPEC CPU 2000 benchmark show that,the approach can improve the performance of programs effectively while the overhead is quite small.
出处
《计算机与数字工程》
2012年第2期121-123,147,共4页
Computer & Digital Engineering
基金
"核高基"国产CPU编译系统及工具链项目(编号:2009ZX01036-001-003)资助
关键词
值剖视
剖视指导的优化
代码特例化
GCC
value-profile
profile-driven optimization
code specialization
GCC