Vectorization-oriented Local Data Regrouping
At present,non-multimedia program vectorization with multimedia extension has become an important way to improve the program performance.However,compared to multimedia program,there are a large amount of non-adjacent and non-alignment data references in the non-multimedia program,which seriously impede the program vectorized and decrease program vectorization performance.The present paper proposes a novel vetorization method based on data regrouping locally.This method changes non-adjacent data reference to adjacent data reference by data regrouping locally so as to vectorize regrouped loop,and makes alignment analysis and alignment optimization so as to improve program vectorization performance.For SPEC CPU2000 float point test sets,the proposed method can vectorize some program which can't be vectorized by other compilers such as ICC,and highly improves the performance of some SPEC CPU2000 floating point program by up to 241.6%.