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

基于编译指示的向量化方法
引用本文:姚远,赵荣彩.基于编译指示的向量化方法[J].计算机工程,2012,38(12):272-275.
作者姓名:姚远  赵荣彩
作者单位:解放军信息工程大学信息工程学院,郑州,450002
摘    要:编译器由于程序分析能力不足,无法自动实现循环向量化或者会造成盲目自动向量化。为此,提出一种基于编译指示的向量化方法。通过在代码中插入向量化编译指示语句,指导自动向量化编译工具的处理过程,自动生成高效的向量化代码。测试结果表明,该方法能够有效提高目标代码的运行性能。

关 键 词:单指令多数据流  自动向量化  数据依赖关系  编译指示  循环不变量  向量寄存器
收稿时间:2011-10-25

Vectorization Method Based on Compiler Directive
YAO Yuan , ZHAO Rong-cai.Vectorization Method Based on Compiler Directive[J].Computer Engineering,2012,38(12):272-275.
Authors:YAO Yuan  ZHAO Rong-cai
Affiliation:(Institute of Information Engineering,PLA Information Engineering University,Zhengzhou 450002,China)
Abstract:Aiming at the problems that vectorization compiler tool can not perform auto-vectorization or does blind auto-vectorization because of the insufficient of program analysis ability,this paper proposes a vectorization method based on the compiler directive.The compiler directive is used to guide vectorization compiler tool to perform some special actions and produce high efficiency vectorization code automaticly when it is inserted into the program.Test results show that the method can effectively improve the performance of the object code.
Keywords:Single Instruction Multiple Data(SIMD)  automatic vectorization  data dependence relationship  compiler directive  loop invariant  vector register
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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