一种基于代码隔离的大程序迭代编译优化方法  

Code Isolation Based Iterative Compilation Optimization for Large Programs

在线阅读下载全文

作  者:陆平静[1] 李宝[1] 车永刚[1] 庞征斌[1] 

机构地区:[1]国防科学技术大学计算机学院,长沙410073

出  处:《上海交通大学学报》2013年第1期133-137,共5页Journal of Shanghai Jiaotong University

基  金:国家自然科学基金项目(61103014;61170046;61003075);国家重点基础研究发展规划(973)项目(G2009CB723803);国家高技术研究发展计划(863)项目(2012AA01A301)资助

摘  要:提出了一种轻权的大程序优化方法——基于代码隔离的迭代编译优化方法,并采用该方法对程序的性能进行测试,结合代码隔离技术,从大程序中分离若干以循环结构为主、性能不相关或相关度较低的核心代码片断,逐个对其进行迭代编译优化搜索,进而更加有效地优化核心代码段.结果表明,所提出的方法可以提高整个程序的性能,可将一个高维的优化空间转换为多个低维优化空间而降低迭代编译的优化开销,是一种易于实现且适合通用代码迭代编译的大程序优化方法.A lightweight large programs optimization method, code isolation based iterative compilation was proposed, which isolated kernel code segments from original scientific and engineering codes, organized them into source files, and then optimized these isolated codes using iterative compilation separately. In this way, different kernel code segments could be optimized with specific optimization configuration; there- fore, it optimized programs more effectively and boosted the whole programs' performance. Meanwhile, the multi-dimensional optimization space was split into several lower-dimensional optimization spaces, and the optimization cost was reduced. The experimental results show that it is a low-weight and easy-to-im- plement method for large programs, and it is also suitable for general code optimization.

关 键 词:迭代编译 代码隔离 程序优化 

分 类 号:TP312[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象