Re: Vectorization for store with negative step

2013-12-18 Thread Richard Biener
--Original Message- > From: Richard Biener [mailto:richard.guent...@gmail.com] > Sent: 18 December 2013 11:26 > To: Bingfeng Mei > Cc: gcc-patches@gcc.gnu.org > Subject: Re: Vectorization for store with negative step > > On Mon, Dec 16, 2013 at 5:54 PM, Bingfeng Mei wrote: >

RE: Vectorization for store with negative step

2013-12-18 Thread Bingfeng Mei
:26 To: Bingfeng Mei Cc: gcc-patches@gcc.gnu.org Subject: Re: Vectorization for store with negative step On Mon, Dec 16, 2013 at 5:54 PM, Bingfeng Mei wrote: > Hi, > I was looking at some loops that can be vectorized by LLVM, but not GCC. One > type of loop is with store of negative step.

Re: Vectorization for store with negative step

2013-12-18 Thread Richard Biener
On Mon, Dec 16, 2013 at 5:54 PM, Bingfeng Mei wrote: > Hi, > I was looking at some loops that can be vectorized by LLVM, but not GCC. One > type of loop is with store of negative step. > > void test1(short * __restrict__ x, short * __restrict__ y, short * > __restrict__ z) > { > int i; >