[meta-xilinx] new compiler suffix , which mfpu ?

Arno Steffens star at gmx.li
Tue Jun 18 01:28:15 PDT 2019


Switching from Yocto2.5 to 2.7 brings up new stuff. So the compiler architecture changes from cortexa9hf to cortexa9t2hf.
Am I right this gives just the option to use thumb2, but without a dedicated compiler option it still creates standard arm code?

Also my previous compiler option:
CFLAGS=$(CDEBUG) -fpic -c -Wall -mfloat-abi=hard--sysroot=/home/user/sdk27/sysroots/cortexa9t2hf-neon-poky-linux-gnueabi
returns now
"cc1: error: -mfloat-abi=hard: selected processor lacks an FPU"

I found that I need to add -mfpu= to get it working again (it was not needed before).
Now my question is: What to I have to add for Zynq70xx family? What has been used before by default?
Valid should be "auto", "neon", "vfpv3" or "neon-vfp3".
What is the difference between them, how to obtain best performance.

How can I find what is used after compilation afterwards. The "file" command doesn't show a difference as far as I could see.


More information about the meta-xilinx mailing list