RE: [arm-gnu] arm-2008q3 Vectorizing support
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [arm-gnu] arm-2008q3 Vectorizing support



> -----Original Message-----
> From: Daniel Jacobowitz [mailto:dan@xxxxxxxxxxxxxxxx] 
> Sent: Tuesday, November 18, 2008 7:31 PM
> To: Shilimkar, Santosh
> Cc: arm-gnu@xxxxxxxxxxxxxxxx
> Subject: Re: [arm-gnu] arm-2008q3 Vectorizing support
> 
> On Tue, Nov 18, 2008 at 07:20:48PM +0530, Shilimkar, Santosh wrote:
> > The same C code built with codesourcery toolchain, don't 
> generate the expected SIMD instructions. The flag I used for 
> bulding this are
> > 
> > arm-none-linux-gnueabi-gcc neon_vector_test.c 
> -ftree-vectorize -march=armv7a -mfpu=neon -mfloat-abi=softfp 
> -o neon_vector_test.out
> 
> You haven't turned on optimization.  Try using -O2 -ftree-vectorize or
> -O3.

I tried with -O2 and -O3 as well. Didn't help.

> 
> -- 
> Daniel Jacobowitz
> CodeSourcery
> 
>