Skip to content

Conversation

fingolfin
Copy link
Member

The A15 was detected as M2; added codenames for easier future updates.

Sources:

Missing:

  • the M4 Pro and Max are missing (because they are missing from Apple's cpuid.h)

Resolves #58278

The A15 was detected as M2; added codenames for easier future updates
@fingolfin fingolfin added the backport 1.12 Change should be backported to release-1.12 label May 2, 2025
@KristofferC KristofferC mentioned this pull request May 5, 2025
53 tasks
@fingolfin
Copy link
Member Author

Updated with the suggestions, thanks

@fingolfin
Copy link
Member Author

@gbaraldi thoughts?

@KristofferC KristofferC mentioned this pull request May 9, 2025
58 tasks
@gbaraldi
Copy link
Member

gbaraldi commented Jun 4, 2025

LGTM

@topolarity topolarity added the merge me PR is reviewed. Merge when all tests are passing label Jun 4, 2025
@DilumAluthge DilumAluthge merged commit 7cb88d6 into master Jun 5, 2025
8 checks passed
@DilumAluthge DilumAluthge deleted the mh/apple_m4 branch June 5, 2025 03:55
@DilumAluthge DilumAluthge removed the merge me PR is reviewed. Merge when all tests are passing label Jun 5, 2025
KristofferC pushed a commit that referenced this pull request Jun 6, 2025
The A15 was detected as M2; added codenames for easier future updates.

Sources:
- https://asahilinux.org/docs/hw/soc/soc-codenames/#socs
-
https://github.com/apple-oss-distributions/xnu/blob/main/osfmk/arm/cpuid.h
-
https://github.com/llvm/llvm-project/blob/main/llvm/lib/Target/AArch64/AArch64Processors.td#L428

Missing:
- the M4 Pro and Max are missing (because they are missing from Apple's
`cpuid.h`)

Resolves #58278

---------

Co-authored-by: Christian Guinard <[email protected]>
(cherry picked from commit 7cb88d6)
@KristofferC KristofferC mentioned this pull request Jun 6, 2025
60 tasks
@KristofferC KristofferC removed the backport 1.12 Change should be backported to release-1.12 label Jul 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sys.CPU_NAME is "apple-m1" on Apple M4
7 participants