Detect Apple M4 and some related changes#58301
Merged
DilumAluthge merged 3 commits intomasterfrom Jun 5, 2025
Merged
Conversation
The A15 was detected as M2; added codenames for easier future updates
53 tasks
Co-authored-by: Christian Guinard <28689358+christiangnrd@users.noreply.github.com>
Member
Author
|
Updated with the suggestions, thanks |
Member
Author
|
@gbaraldi thoughts? |
58 tasks
Member
|
LGTM |
gbaraldi
approved these changes
Jun 4, 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 <28689358+christiangnrd@users.noreply.github.com> (cherry picked from commit 7cb88d6)
Merged
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The A15 was detected as M2; added codenames for easier future updates.
Sources:
Missing:
cpuid.h)Resolves #58278