基于数据对齐属性指导的GCC自动向量化优化  

Optimizing the auto-vectorization in GCC based on data-alignment directives

在线阅读下载全文

作  者:李春江[1] 黄娟娟[1] 徐颖[1] 董钰山 

机构地区:[1]国防科学技术大学计算机学院,湖南长沙410073

出  处:《计算机工程与科学》2014年第6期1011-1017,共7页Computer Engineering & Science

基  金:国家自然科学基金资助项目(61170046);国家863计划资助项目(2012AA010903)

摘  要:主流通用处理器都已经实现了多核并行以及处理器核内的SIMD并行。虽然GCC编译器实现了面向SIMD并行的自动向量化,但是编译器针对OpenMP并行程序的自动向量化效果仍很不理想。针对多线程并行的OpenMP程序,基于GCC的OpenMP编译实现,扩展了数据对齐属性指导语句,使编译器在自动向量化时能够进行更准确的数据对齐与否的判断,优化了GCC编译器的自动向量化。The general purpose processors support multi-core parallelism on a chip and SIMD parallelism in each core.Although GCC complier makes use of the auto-vectorization for SIMD parallelism,the effects of auto-vectorization for OpenMP program is far from the expectation.Based on the implementation of the OpenMP compilation in GCC,we extend complier directives with data alignment attribute directive for OpenMP program.Our work enables GCC to make a more accurate estimation on the alignment of data access,and optimizes the auto vectorization in GCC.

关 键 词:数据对齐属性 编译指导 自动向量化 GCC 

分 类 号:TP314[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象