On 30 October 2017 at 07:52, Joy Deng joy.deng@nxp.com wrote:
Hi ,
I am a SW engineer that use Linaro-toolchain to build images,
Recently, I encounter some issue about enable NEON features on ARMv8 processor platform. I cat cpuinfo, can not find neon and vfp feature enable in list, the image was build with aarch-64 toolchian;
In ARMv8, it should be "asimd".
While, the image built by armv7l toolchain can list "neon and vfp" in cpuinfo.
I want to verify from your side,
- if the toolchain of aarch64 version already enable" neon and vfp " in default, Because I do not find some build items that related with "neon",
- If not supported defaultly, can you give some suggestion to enable it.
It has nothing to do with toolchain. The cpuinfo is retrieved from Linux kernel, and kernel returns something different for aarch64 process and aarch32 process, to order to be backward compatible. That is why your apps get different cpuinfo on the same kernel.