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

使用代价分析的向量化循环分割技术
引用本文:何越强.使用代价分析的向量化循环分割技术[J].计算机工程与设计,2011,32(6):2020-2023.
作者姓名:何越强
作者单位:浙江大学计算机科学与技术学院,浙江杭州,310027
基金项目:国家自然科学基金项目,国家重大科技专项基金项目
摘    要:为了使循环在编译过程中更充分地被向量化,提出了一种基于代价分析的向量化循环分割技术。标记出了迭代依赖间隔中不存在依赖关系的循环片段,在此基础上建立一个简单有效的代价分析模型来评估这些循环片段向量化和未向量化的CPU时钟周期开销,最后从代价分析结果中确定是否需要将其向量化分割,从而把向量化特性应用到细短的循环片段。实验结果表明了该技术的有效性,对迭代依赖距离大的循环片段优化作用更明显。

关 键 词:循环依赖  自动向量化  循环分割  依赖间隔  代价分析

Technique of vectorial loop peeling using cost analysis
HE Yue-qiang.Technique of vectorial loop peeling using cost analysis[J].Computer Engineering and Design,2011,32(6):2020-2023.
Authors:HE Yue-qiang
Affiliation:HE Yue-qiang(College of Computer Science and Technology,Zhejiang University,Hangzhou 310027,China)
Abstract:To vectorize a loop more sufficiently in the compile time,a loop peeling technique for vectorization based on a cost analysis is presented.Firstly,the fragments that do not have dependency are marked in the loop.Then a simple and cost effective model is designed to evaluate the CPU clock cycles in the vectorized or non-vectorized loop fragments.Finally,the final results from the cost analysis determined whether to vectorize the fragments or not,thus the vectorization is applied to short loop fragments.The e...
Keywords:loop dependence  auto-vectorization  loop partition  dependent interval  cost analysis  
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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