Post

Replies

Boosts

Views

Activity

How to access ARM system registers?
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?
1
0
489
Jul ’24
How to enable BFloat16 data type?
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?
Replies
2
Boosts
0
Views
3k
Activity
Mar ’23
aarch64 intrinsics
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?
Replies
1
Boosts
0
Views
2.1k
Activity
May ’23
Does Apple M4 support ARM SVE instructions?
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?
Replies
2
Boosts
0
Views
3.1k
Activity
Jun ’24
How to access ARM system registers?
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?
Replies
1
Boosts
0
Views
489
Activity
Jul ’24