I want to write an image processing library. To take advantage of ARM SIMD instructions, the library should know what CPU features (NEON, SVE, SVE2 or SVE2p1) the running platform supported. I know calling MacOS API can get the information. But I want to get CPU information from ARM system registers, that make my program more generic for ARM devices.
Post
Replies
Boosts
Views
Activity
Apple M series is ARM v8.5a. https://en.wikipedia.org/wiki/Apple_silicon#M_series