I want to retrieve processor features at runtime. I used 'MRS' instruction to access system registers. But it failed on my M1 MacBook. I tried the same code on Nvidia Orin(ARM ISA), it's works.
On MacOS, I found only 'NZCV' system register I can access. Does Apple impose limitation on other system registers?
Post
Replies
Boosts
Views
Activity
It's said Apple M4 is an ARMv9 chip. I wrote assembly with ARM SVE instructions. And set an iPad M4 simulated device as running target. When execute, it throw "EXC_BAD_INSTRUCTION" error. Does Apple M4 support SVE?
Many useful ARM intrinsics (such as fma, rng, ld64b, etc.) are described in Arm C Language Extensions. But the arm_acle.h header file shipped with Xcode not include them.
Are these intrinsics supported by Apple Silicon chip?
When compile source with __bf16 variable, it throw exception, "__bf16 is not supported on this target".
The compiler is xcode build-in clang-1400.0.29.202.
Is Apple silicon support bf16 type?