Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Compiler flags Neon, vfpv3, vfpv4 missing

145

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
145

Compiler flags Neon, vfpv3, vfpv4 missing

Posted at 11/4/2017 10:40:34      View:3824 | Replies:2        Print      Only Author   [Copy Link] 1#
Last edited by santo4ul In 11/4/2017 10:45 Editor

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
Reply

Use props Report

27

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
27
Posted at 11/7/2017 04:55:34        Only Author  2#
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
Reply

Use props Report

145

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
145
Posted at 11/7/2017 17:44:31        Only Author  3#
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
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list