Apple M4 Support Added to the LLVM Compiler, ARMv8.7

by dmmalamon 6/18/2024, 5:51 PMwith 2 comments

by Pulcinellaon 6/18/2024, 8:43 PM

Technically apple-m4 is ARMv9.2a, but a quirk of LLVM defines v9.0 as requiring SVE, which is optional according to the Arm ARM and not supported by the core. ARMv8.7a is the next closest choice.

Hmm I wonder how this happened? I assume at least at one point SVE was such headline feature of 9.0 that LLVM assumed any 9.0 chip would have SVE even if it wasn't technically required?

by 3lit3krewon 6/18/2024, 7:59 PM

It's great that Apple has supported this compiler for so long. It's great for the Free Software world to have more than one compiler.