AnsweredAssumed Answered

About compiler options when using NEON in i.MX6DL.

Question asked by Keita Nagashima on Oct 2, 2014
Latest reply on Nov 11, 2014 by Yuri Muhin

Dear Sir or Madam,

 

Hello.

I have a question about compiler options when using NEON in i.MX6DL.

 

BSP:Yocto L3.10.17_1.0.0

We are executing the program which does an image processing at high speed with NEON.

But, it didn't perform well.

 

When compiling a program, we sets following compiler options.

[Compiler options]

arm-poky-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mcpu=cortex-a9 -mtune=cortex-a9 --sysroot=/opt/poky/1.5.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi -c -O3 -flax-vector-conversions -I./../../test/header -I./../../test/header2 -I./ -I./../../../fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/opencv/2.4.6+gitAUTOINC+c5afaa4e8d-r0/packages-split/opencv-dev/usr/include test1.c test2.c

 

[Quesition]

Please give me your advice to implove the performance.

 

PS,

When changing "mfloat-abi=hard" to "soft" or "softfp", it became a build error.

 

Best Regards,

Keita

Outcomes