Dear All,
My customer measured the performance of mathematical function, such as Logarithm or Power, on i.MX6S.
He thinks the performance will get better if NEON HW can be enabled.
Now he uses GCC compiler.
Please show me how to enable NOEN H/W for the math functions on i.MX6. (GCC flags, etc.)
Also, please let me know if you have any ideas to improve the math calculation performance.
Best Regards,
Miyamoto
Solved! Go to Solution.
1.
Default GCC options regarding floating point support are :
-march=armv7-a -mfpu=vfpv3 -mfloat-abi=softfp
To use the NEON :
-march=armv7-a -mfpu=neon -mfloat-abi=softfp
2.
As for Linux :
“How to create ubuntu hardfloat rootfs for imx6d/q”
1.
Default GCC options regarding floating point support are :
-march=armv7-a -mfpu=vfpv3 -mfloat-abi=softfp
To use the NEON :
-march=armv7-a -mfpu=neon -mfloat-abi=softfp
2.
As for Linux :
“How to create ubuntu hardfloat rootfs for imx6d/q”