Compiler flags Neon, vfpv3, vfpv4 missing

Hi,

 I'm using RK3399 board with Ubuntu 16.04 image.

 I get the following error  when I use the option "-mfpu=neon", for example,

firefly@firefly:~/san/opencv-3.3.1$ gcc -mfpu=neon a.c
gcc: error: unrecognized command line option ‘-mfpu=neon’
firefly@firefly:~/san/opencv-3.3.1$

When I look at “cat /proc/cpuiunfo”

firefly@firefly:~$ cat /proc/cpuinfo
processor : 0
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

Neon, vfpf3, etc. are missing.

For example, on my raspberry pi 3, I see the following,

cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5

Could someone help please? What is missing?

Thanks,
San

my understanding is that neon is not an option in armv8 - its assumed. The rasp pi v3 is working in aarch32 mode hence it showing up as an armv7 chip so it will work there

neilbirtles Posted at 11/7/2017 04:55
my understanding is that neon is not an option in armv8 - its assumed. The rasp pi v3 is working in …

I see. Thanks for your inputs.

Regards,
San

FS-Con-101 考題寶典由 Fast2test 在世界各地的資深IT工程師組成的專業團隊製作完成,Salesforce 的 FS-Con-101 考題寶典內包含最新的 FS-Con-101 考試試題,並附有全部正確答案,保證一次輕鬆通過 FS-Con-101 考試,完全無需購買其他額外的FS-Con-101 複習資料。並且購買 FS-Con-101 考題後,享有一年的免費更新服務。