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
  RockPro64 Stopped working WarpLover 5 545 Yesterday, 10:10 AM
Last Post: diizzy
  Cant get rockpro64 working brasilikum 0 49 02-04-2023, 02:43 PM
Last Post: brasilikum
Lightbulb ROCKPro64 + SSD case model for 3D print Spater 0 82 01-27-2023, 07:43 PM
Last Post: Spater
  RockPro64 ddr clock speed causing system instability CypherShrugged 1 558 08-15-2022, 02:32 PM
Last Post: CypherShrugged
  OPNsense for RockPro64 one8three 2 1,311 08-08-2022, 09:43 PM
Last Post: XaveT
  NAS Optimizations for RockPro64 MNtinkerer 25 5,951 08-03-2022, 01:57 PM
Last Post: MNtinkerer
  How to run Raspberry Pi software on RockPro64? pk245 0 740 06-24-2022, 08:20 AM
Last Post: pk245
  ROCKPRO64 PCI SSD SD-boot Install pspgarret 0 578 06-09-2022, 10:56 AM
Last Post: pspgarret
  RockPro64 has no white led, nor will it boot past... AnjinMeili 2 947 05-31-2022, 09:19 AM
Last Post: Rocklobster
  RockPro64 Debian xrdb -- problem connecting emarsh 0 532 05-19-2022, 09:55 AM
Last Post: emarsh

Forum Jump:


Users browsing this thread: 1 Guest(s)