From a2e5c60ec03f474b30eec6bff1de57ac2e716971 Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Mon, 24 Jun 2024 01:38:16 -0700 Subject: [PATCH] Add part numbers for M2 Pro and M2 Max Part numbers taken from: https://github.com/AsahiLinux/m1n1/blob/main/src/chickens.c --- src/PerfCounters_aarch64.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/PerfCounters_aarch64.h b/src/PerfCounters_aarch64.h index a93aa839318..33ce3a68894 100644 --- a/src/PerfCounters_aarch64.h +++ b/src/PerfCounters_aarch64.h @@ -82,8 +82,12 @@ static CpuMicroarch compute_cpu_microarch(const CPUID &cpuid) { case 0x29: return AppleM1Firestorm; case 0x32: + case 0x34: + case 0x38: return AppleM2Blizzard; case 0x33: + case 0x35: + case 0x39: return AppleM2Avalanche; } break;