• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

计算机工程与科学

• 论文 • 上一篇    下一篇

面向多核体系结构的并行迭代编译技术研究

谭延丹,易会战,张鹏   

  1. (国防科学技术大学计算机学院,湖南 长沙 410073)
  • 收稿日期:2016-09-03 修回日期:2016-11-05 出版日期:2017-03-25 发布日期:2017-03-25

Parallel iterative compilation
based on multi-core architecture
 

TAN Yan-dan,YI Hui-zhan,ZHANG Peng   

  1. (College of Computer,National University of Defense Technology,Changsha 410073,China)
  • Received:2016-09-03 Revised:2016-11-05 Online:2017-03-25 Published:2017-03-25

摘要:

迭代编译技术是一种编译优化技术,目前学术研究已经证明将迭代编译技术运用于程序优化能够显著提高程序性能。但是,因为迭代编译需要多次编译运行程序,整个迭代过程耗时巨大。为了运用当前普遍存在的多核计算资源,加快迭代编译过程,对当前新提出的迭代编译框架OpenTuner进行修改,将迭代编译过程中的评估阶段改为并行执行。同时,探索迭代编译评估阶段并行化对优化效果的影响,并对此做出分析。

 

关键词: 编译优化, 迭代编译, 并行化, 程序调优

Abstract:

Iterative compilation is a compiler optimization technique and it has been proved that it can significantly improve program performance. However, iterative compilation needs to compile and run a program multiple times, so the process is time-consuming. In order to make full use of the existing multi-core computing resources and speed up the iterative process, we parallelize the evaluation phase of iterative compilation based on a new iterative framework named “OpenTuner”. Meanwhile, we explore the impact of the parallelization of evaluation phase in iterative compilation on the optimization results, and analyze the experimental results.

Key words: compiler optimization, iterative compilation, parallelization, program tuning