[arm-gnu] arm-2008q3 Vectorizing support
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[arm-gnu] arm-2008q3 Vectorizing support
- To: "arm-gnu@xxxxxxxxxxxxxxxx" <arm-gnu@xxxxxxxxxxxxxxxx>
- Subject: [arm-gnu] arm-2008q3 Vectorizing support
- From: "Shilimkar, Santosh" <santosh.shilimkar@xxxxxx>
- Date: Tue, 18 Nov 2008 19:20:48 +0530
ARM has some vectorization C code example which can be used to see the benefits of SIMD instructions. The example code given the ARM is built on RVCT3.1 toolchain and if you see the output file, the RVCT compiler does generate the SIMD instructions. The app note is 'DUI0350A_rvct_neon_compiler_guide.pdf'
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
The toolchain version used is : gcc version 4.3.2 (Sourcery G++ Lite 2008q3-41)
Regards,
Santosh Shilimkar