[PATCH] D119788: [AArch64] Add support for -march=native for Apple M1 CPU
Tim Northover via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 15 02:02:46 PST 2022
t.p.northover added a comment.
Sorry, that was an old xnu version, the newest one is https://opensource.apple.com/source/xnu/xnu-7195.81.3/osfmk/mach/machine.h.auto.html which has
| `CPUFAMILY_ARM_CYCLONE` | 0x37a09642 | `apple-a7` |
| `CPUFAMILY_ARM_TYPHOON` | 0x2c91a47e | `apple-a8` |
| `CPUFAMILY_ARM_TWISTER` | 0x92fb37c8 | `apple-a9` |
| `CPUFAMILY_ARM_HURRICANE` | 0x67ceee93 | `apple-a10` |
| `CPUFAMILY_ARM_MONSOON_MISTRAL` | 0xe81e7ef6 | `apple-a11` |
| `CPUFAMILY_ARM_VORTEX_TEMPEST` | 0x07d34b9f | `apple-a12` |
| `CPUFAMILY_ARM_LIGHTNING_THUNDER` | 0x462504d2 | `apple-a13` |
| `CPUFAMILY_ARM_FIRESTORM_ICESTORM` | 0x1b588bb3 | `apple-m1` (and `apple-a14`) |
|
We'll probably have to hard-code most of those because we need LLVM to be buildable on much older versions of Xcode that don't know about newer CPUs (likely Xcode 9.3 soon, but now older even than that).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119788/new/
https://reviews.llvm.org/D119788
More information about the cfe-commits
mailing list