首页 | 本学科首页   官方微博 | 高级检索  
     检索      

一种基于代码隔离的大程序迭代编译优化方法
引用本文:陆平静,李宝,车永刚,庞征斌.一种基于代码隔离的大程序迭代编译优化方法[J].上海交通大学学报,2013,47(1):133-137.
作者姓名:陆平静  李宝  车永刚  庞征斌
作者单位:(国防科学技术大学 计算机学院, 长沙 410073)
基金项目:国家自然科学基金项目,国家重点基础研究发展规划(973)项目,国家高技术研究发展计划(863)项目
摘    要:提出了一种轻权的大程序优化方法--基于代码隔离的迭代编译优化方法,并采用该方法对程序的性能进行测试,结合代码隔离技术,从大程序中分离若干以循环结构为主、性能不相关或相关度较低的核心代码片断,逐个对其进行迭代编译优化搜索,进而更加有效地优化核心代码段.结果表明,所提出的方法可以提高整个程序的性能,可将一个高维的优化空间转换为多个低维优化空间而降低迭代编译的优化开销,是一种易于实现且适合通用代码迭代编译的大程序优化方法.

关 键 词:迭代编译    代码隔离    程序优化  
收稿时间:2012-05-30

Code Isolation Based Iterative Compilation Optimization for Large Programs
LU Ping-jing,LI Bao,CHE Yong-gang,PANG Zheng-bin.Code Isolation Based Iterative Compilation Optimization for Large Programs[J].Journal of Shanghai Jiaotong University,2013,47(1):133-137.
Authors:LU Ping-jing  LI Bao  CHE Yong-gang  PANG Zheng-bin
Institution:(College of Computer, National University of Defense Technology, Changsha 410073, China)
Abstract: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; therefore, 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-implement method for large programs, and it is also suitable for general code optimization.
Keywords:iterative compilation  code isolation  program optimization  
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《上海交通大学学报》浏览原始摘要信息
点击此处可从《上海交通大学学报》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号