Hi all.
I'm planing to use neon assembly and intrinsic code to do extra work such as memory copy and color space conversion to YUV420 planar on DM8148 EZSDK 5.03.01.15. For the testing, I copied memcpy_neon.S(memcpy-neon.tar.gz) into OMX decoder(~/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/omx_05_02_00_30/examples/ti/omx/demos/decode) and made some change on makefile such adding source code and flag(-mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp ) but I got a complain from compiler like below.
If I use mempcy_neon.S, I got a something like below.
~/ti-ezsdk_dm814x-evm_5_03_01_15/component-sources/omx_05_02_00_30/makerules/rules_a8.mk:76: target `src/memcpy_neon.S' doesn't match the target pattern
So, If I changed it to memcpy_neon.c, the result looks like below.
./src/memcpy_neon.c:25: error: expected identifier or '(' before '.' token
./src/memcpy_neon.c:34: error: stray '#' in program
./src/memcpy_neon.c:35:7: error: invalid suffix "f" on integer constant
./src/memcpy_neon.c:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'r2'
./src/memcpy_neon.c:39: error: stray '#' in program
./src/memcpy_neon.c:40:7: error: invalid suffix "f" on integer constant
./src/memcpy_neon.c:41: error: stray '#' in program
./src/memcpy_neon.c:42: error: stray '#' in program
./src/memcpy_neon.c:43: error: stray '#' in program
./src/memcpy_neon.c:44: error: stray '#' in program
./src/memcpy_neon.c:45: error: stray '#' in program
./src/memcpy_neon.c:46:7: error: invalid suffix "b" on integer constant
./src/memcpy_neon.c:47: error: stray '#' in program
...
Also, I found a one interesting thing is that the "rules_a8.mk" has a armv5t flag such as "CFLAGS_INTERNAL = -fPIC -fno-strict-aliasing -MD -MF $(DEPFILE).P -march=armv5t -Dfar= -D_DEBUG_=1 -DMULTICHANNEL_OPT=1".
I think that it is supposed to be something like "march=armv7-a" but I'm not sure. If anyone has an idea or information regarding how to get it working, please let me know.
Regards,
SK