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

基于多面体表示的向量化收益评估方法
引用本文:张媛媛,赵荣彩,韩林.基于多面体表示的向量化收益评估方法[J].计算机工程,2012,38(7):266-268,272.
作者姓名:张媛媛  赵荣彩  韩林
作者单位:解放军信息工程大学计算机科学与技术系,郑州,450002
基金项目:“核高基”重大专项“国产CPU编译器及其软件工具链”(2009ZX01036-001-001-2)
摘    要:循环变换可提高程序性能,但对其向量化后可能会导致代码性能损失,并不一定会得到预期性能提升。针对该问题,结合目标体系结构特征,在Open64中实现一个基于多面体表示指导循环变换的向量化收益评估模型。该模型可以有效分析各种循环变换方案的代价,选择向量化收益最大的方案组合作为最终的向量化方案。对SPEC测试集的swim等5个程序进行测试,结果表明,收益评估结果与实测向量化加速比相近,可避免盲目优化。

关 键 词:向量化  收益评估  循环变换  多面体  代价模型
收稿时间:2011-07-26

Vectorization Benefit Evaluation Method Based on Polyhedron Representation
ZHANG Yuan-yuan , ZHAO Rong-cai , HAN Lin.Vectorization Benefit Evaluation Method Based on Polyhedron Representation[J].Computer Engineering,2012,38(7):266-268,272.
Authors:ZHANG Yuan-yuan  ZHAO Rong-cai  HAN Lin
Affiliation:(Department of Computer Science and Technology,PLA Information Engineering College,Zhengzhou 450002,China)
Abstract:Loop transformations can bring program speedups,but after vectorization,program performance probably cannot benefit as expected.In order to solve the problem which is not done sufficiently by researchers,combining with the features of the targeted architecture,this paper implements a benefit evaluation framework in Open64 based on polyhedral representation.The benefit evaluation model can efficiently analyze cost of various loop transform scheme so that the best vectorization can be chosen as the ultimate vectorization selection.SPEC test set is done including swim and other four programs.Results show that the polyhedral cost model can accurately predict program speedups compared with real time tests and thus avoid blind optimization.
Keywords:vectorization  benefit evaluation  loop transformation  polyhedron  cost model
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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