RockPro64 and Neon
#1
Does it actually have neon support? I notice that it's not listed in /proc/cpuinfo. If it is supported does anyone have a good way to identify it in a configure script so I can actually build a project that supports neon? 

Thanks

Chris
  Reply
#2
Yes, in armv8 nomenclature this is "asimd" in /proc/cpuinfo for advanced simd extensions. Your compilers will automatically pick it up, as far as I know, as it's a base feature of Armv8.0-A I believe.

The gcc manual confirms my belief here by straight up saying +simd is default on armv8-a:

[Image: simd.png]

So nothing special is needed in any configure script, any build for aarch64 will use simd, though auto-vectorisation might not occur on lower optimisation levels.

Occasional Linux Kernel Contributor, Avid Wiki Updater, Ask Me About Quartz64
Open Hardware Quartz64 Model A TOSLink Adapter
Pi-bus GPIO Extender For ROCKPro64 And Quartz64 Model A
Plebian GNU/Linux
  Reply
#3
(10-21-2022, 03:34 AM)CounterPillow Wrote: Yes, in armv8 nomenclature this is "asimd" in /proc/cpuinfo for advanced simd extensions. Your compilers will automatically pick it up, as far as I know, as it's a base feature of Armv8.0-A I believe.

Okay, I think I know what is going on then. I've been working with the optimized poly1305 MAC code from floodyberry (github.com/floodyberry/poly1305-opt) and the problem seems to be that it just is too old to properly support armv8. Specifically in that the assembly was only written for 32bit processors. I was getting turned around buy an error message that, for some reason, made me think that it was a problem with the neon code and not the armv6 assembly. 

Thanks!
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Wink You don't sell case and fan for "ROCKPro64 4GB Single Board Computer"? Clea 1 366 09-17-2023, 12:00 AM
Last Post: tllim
  Want to check maximum toggle speed in Rockpro64 board. kundanjha 0 415 08-14-2023, 07:55 AM
Last Post: kundanjha
  Unable to boot Armbian on new RockPro64 mooseball 5 3,533 07-14-2023, 08:59 AM
Last Post: rockjonn
  Hardware fix for software sound problem on Rockpro64 Ricks Rockpro 0 623 04-06-2023, 03:59 PM
Last Post: Ricks Rockpro
  No sound on Rockpro64 with OpenWrt Patrice 1 943 04-06-2023, 02:46 PM
Last Post: Ricks Rockpro
  Cant get rockpro64 working brasilikum 3 1,327 03-19-2023, 06:22 AM
Last Post: runyor
  RockPro64 Stopped working WarpLover 5 2,028 02-06-2023, 10:10 AM
Last Post: diizzy
Lightbulb ROCKPro64 + SSD case model for 3D print Spater 0 726 01-27-2023, 07:43 PM
Last Post: Spater
  RockPro64 ddr clock speed causing system instability CypherShrugged 1 1,364 08-15-2022, 02:32 PM
Last Post: CypherShrugged
  OPNsense for RockPro64 one8three 2 2,685 08-08-2022, 09:43 PM
Last Post: XaveT

Forum Jump:


Users browsing this thread: 1 Guest(s)