This is a cache of https://discuss.96boards.org/t/neon-and-vfpv3-supports/5226. It is a snapshot of the page at 2024-10-31T08:47:56.054+0000.
Neon and vfpv3 supports? - Rock960 - 96Boards Forum

Neon and vfpv3 supports?

I installed ubuntu server on my Rock960 and run “sudo lshw -C cpu” and there is no neon or vfpv3 supports, is it normal ? Thanks

*-cpu:0
description: CPU
product: cpu-map
physical id: 0
bus info: cpu@0
size: 408MHz
capacity: 1416MHz
capabilities: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpufreq
*-cpu:1
description: CPU
product: cpu
physical id: 1
bus info: cpu@1
size: 408MHz
capacity: 1416MHz
capabilities: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpufreq
*-cpu:2
description: CPU
product: cpu
physical id: 2
bus info: cpu@2
size: 408MHz
capacity: 1416MHz
capabilities: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpufreq
*-cpu:3
description: CPU
product: cpu
physical id: 3
bus info: cpu@3
size: 408MHz
capacity: 1416MHz
capabilities: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpufreq
*-cpu:4
description: CPU
product: cpu
physical id: 4
bus info: cpu@4
size: 1800MHz
capacity: 1800MHz
capabilities: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpufreq
*-cpu:5
description: CPU
product: cpu
physical id: 5
bus info: cpu@5
size: 1800MHz
capacity: 1800MHz
capabilities: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpufreq
*-cpu:6 DISABLED
description: CPU
product: cpu
physical id: 6
bus info: cpu@6
*-cpu:7 DISABLED
description: CPU
product: idle-states
physical id: 7
bus info: cpu@7

/proc/cpuinfo is not a portable way of detecting CPU features, ARMv8 64-bit kernel uses ‘asimd’ for advanced SIMD support, while ARMv7-A 32-bit kernel uses ‘neon’.

Please look at https://community.arm.com/android-community/b/android/posts/runtime-detection-of-cpu-features-on-an-armv8-a-cpu

1 Like

Thanks Loic. Do you happen to know a reference to compile opencv for Rock960 that use all the optimized feature ?

I installed ubuntu server on my Rock960 and run “sudo lshw -C cpu” and
there is no neon or vfpv3 supports, is it normal ? Thanks

I think this is normal, yes.

*-cpu:0
description: CPU
product: cpu-map
physical id: 0
bus info: cpu@0
size: 408MHz
capacity: 1416MHz
capabilities: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpufreq

Here, fp means you have FPU support and asimd means you have NEON.

1 Like

Sorry… I seem to have posted a reply to an already solved issue. Sorry for the noise. Loic’s reply is better than mine!