This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3517 GCC Linaro toolchain (TI-SDK 6.00.00.00)

I'm having trouble getting neon support from the compiler that's in the TI-SDK 6.00.00.00.

I was using the TI-SDK 5.03.02.00 and following the documentation on this wiki page for neon support:

http://processors.wiki.ti.com/index.php/Cortex-A8

I have these options for gcc/g++ compile flags:

"-march=armv7-a -mtune=cortex-a8 -mfpu=neon -ftree-vectorize -ffast-math -mfloat-abi=softfp"

This works and produces neon code with TI-SDK 5.03.02.00 which is based on the Arago toolchain.

When I migrated to the TI-SDK 6.00.00.00 tools based on the Linaro toolchain, I found on this wiki page:

http://processors.wiki.ti.com/index.php/Sitara_Linux_SDK_GCC_Toolchain

That said I should be using the hard ABI instead of the softfp ABI when compiling.  So I changed my gcc/g++ flags to:

"-march=armv7-a -mtune=cortex-a8 -mfpu=neon -ftree-vectorize -ffast-math -mfloat-abi=hard"

This compiles but produces VFP code, not neon code.

Any idea what I'm doing wrong?