[PATCH] Fix dr_explicit_realign_optimized handling in the vectorizer (PR tree-optimization/63341)

2014-09-25 Thread Jakub Jelinek
Hi! As the testcases show, dr_explicit_realign_optimized (used on PowerPC/SPU only) misbehaves if the base_address is in between 1 and vector element size - 1 modulo vector size. The problem is that it wants to add a bias to base_addr such that base_addr & ~vector_size (base_addr + bias) & ~vector

Re: [PATCH] Fix dr_explicit_realign_optimized handling in the vectorizer (PR tree-optimization/63341)

2014-09-25 Thread Richard Biener
On Thu, 25 Sep 2014, Jakub Jelinek wrote: > Hi! > > As the testcases show, dr_explicit_realign_optimized (used on PowerPC/SPU > only) misbehaves if the base_address is in between 1 and vector element size > - 1 > modulo vector size. > The problem is that it wants to add a bias to base_addr such