Skip to content

Commit e1f529d

Browse files
authored
Add OSX hw.cpufamily value for Apple M3
1 parent c245c12 commit e1f529d

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
@@ -270,6 +270,7 @@ int detect(void)
270270
sysctlbyname("hw.cpufamily",&value64,&length64,NULL,0);
271271
if (value64 ==131287967|| value64 == 458787763 ) return CPU_VORTEX; //A12/M1
272272
if (value64 == 3660830781) return CPU_VORTEX; //A15/M2
273+
if (value64 == 2271604202) return CPU_VORTEX; //A16/M3
273274
#endif
274275
return CPU_ARMV8;
275276
#endif

0 commit comments

Comments
 (0)