NobleBlocks

Research indexJournal article

An SIMD Code Generation Technology for Indirect Array

Li, Zhao, Zhang and 1 other

International Journal of Computer Theory and Engineering8 Sep 2015Open access

NobleIDark:/48914/w1/20260525/EC4B01B1DOI10.7763/ijcte.2016.v8.1047

Abstract

Due to disjoint memory references and non-aligned memory references, existing SIMD compilers can't vectorize loops containing indirect array utilizing SIMD (single instruction multiple data) instructions. However, addressing this problem is inevitable, since many important applications extensively use this program pattern to reduce memory and computation requirement. In this paper, we propose a new efficient code generation technique for indirect array. For an irregular indirect array access, we adopt two separately registers to store the array base and the index address. It significantly contributes to the performance improvement by vectorizing more loops and reducing the overheads. We also developed this method in our auto-vectorization compiler SW-VEC. The experimental results show that the proposed method can translate applications within direct array access into high-performance targeted vectorized codes, thereby advancing the execution efficiency adequately.

Discussion

Citations

Topics

More

Suggest a correction or report