http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48172
--- Comment #13 from Ira Rosen <irar at il dot ibm.com> 2011-05-12 13:02:39 UTC --- (In reply to comment #12) > Like this? > Yes, looks good to me. > > I also think that the re-alignment adjustment needs to be multiplied > by DR_STEP (maybe we only support it for DR_STEP == 1 at the moment). The realignment adjustment is for the case when we load two consecutive aligned vectors and extract the relevant elements from them (in Altivec): for a[1:4] we load a[0:3] and a[4:7]. So, the adjustment adds one more vector size to cover that additional loaded vector. I don't see why it needs to be multiplied by DR_STEP. Thanks, Ira