Skip to content

Conversation

@fbarchard
Copy link
Collaborator

@fbarchard fbarchard commented Dec 30, 2025

Detect Apple M4 and M4 Pro p-core and e-core

Treat M4 and M4 Pro as the same uarch, but with different quantity of p-core and e-core
Follow current naming convention of calling p-core Everest and e-core Sawtooth.

Tested on Macbook Pro 16 inch

Packages:
	0: Apple M4 Pro
Microarchitectures:
	10x Donan Everest
	4x Donan Sawtooth
Cores:
	0: 1 processor (0), Apple Donan Everest
	1: 1 processor (1), Apple Donan Everest
	2: 1 processor (2), Apple Donan Everest
	3: 1 processor (3), Apple Donan Everest
	4: 1 processor (4), Apple Donan Everest
	5: 1 processor (5), Apple Donan Everest
	6: 1 processor (6), Apple Donan Everest
	7: 1 processor (7), Apple Donan Everest
	8: 1 processor (8), Apple Donan Everest
	9: 1 processor (9), Apple Donan Everest
	10: 1 processor (10), Apple Donan Sawtooth
	11: 1 processor (11), Apple Donan Sawtooth
	12: 1 processor (12), Apple Donan Sawtooth
	13: 1 processor (13), Apple Donan Sawtooth
Clusters:
	0: 10 processors (0-9),	0: 10 cores (0-9), Apple Donan Everest
	1: 4 processors (10-13),	1: 4 cores (10-13), Apple Donan Sawtooth

Fixes #359

- Detect M4 and M4 Pro p-core and e-core
@kimishpatel
Copy link
Contributor

please fix clang format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Apple M4 uarch detect

2 participants