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



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.

-- 
Daniel Jacobowitz
CodeSourcery