Skip to content

Commit 7d35bf6

Browse files
authored
Add cpuid for Apple M5 (from a PR to the archspec project)
1 parent 8c0b13c commit 7d35bf6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cpuid_arm64.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,7 @@ int detect(void)
405405
if (value64 == 3660830781) return CPU_VORTEX; //A15/M2
406406
if (value64 == 2271604202) return CPU_VORTEX; //A16/M3
407407
if (value64 == 1867590060) return CPU_VORTEXM4; //M4
408+
if (value64 == 492472296) return CPU_VORTEXM4; //M5
408409
#else
409410
#ifdef OS_WINDOWS
410411
HKEY reghandle;

0 commit comments

Comments
 (0)