J4 ›› 2014, Vol. 36 ›› Issue (06): 1011-1017.
• 论文 • Previous Articles Next Articles
LI Chunjiang,HUANG Juanjuan,XU Ying,DONG Yushan
Received:
Revised:
Online:
Published:
Abstract:
The general purpose processors support multicore 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 autovectorization 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.
Key words: data alignment attribute;compiler directives;auto-vectorization;GCC
LI Chunjiang,HUANG Juanjuan,XU Ying,DONG Yushan. Optimizing the auto-vectorization in GCC based on data-alignment directives [J]. J4, 2014, 36(06): 1011-1017.
0 / / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: http://joces.nudt.edu.cn/EN/
http://joces.nudt.edu.cn/EN/Y2014/V36/I06/1011