Add CPU family ARMv8.3-A
Darwin 20 adds the CPU family `CPUFAMILY_ARM_VORTEX_TEMPEST` (aka ARMv8.3-A), which is assigned the identifier of `0x07d34b9f`. This is relevant for `SystemConfig` in Homebrew. See also: https://en.wikipedia.org/wiki/Comparison_of_ARMv8-A_cores
This commit is contained in:
parent
f72328d9c0
commit
559d0a91a2
@ -21,8 +21,6 @@ module Hardware
|
|||||||
end
|
end
|
||||||
|
|
||||||
def family
|
def family
|
||||||
return :dunno if arm?
|
|
||||||
|
|
||||||
case sysctl_int("hw.cpufamily")
|
case sysctl_int("hw.cpufamily")
|
||||||
when 0x73d67300 # Yonah: Core Solo/Duo
|
when 0x73d67300 # Yonah: Core Solo/Duo
|
||||||
:core
|
:core
|
||||||
@ -48,6 +46,8 @@ module Hardware
|
|||||||
:kabylake
|
:kabylake
|
||||||
when 0x38435547 # Ice Lake
|
when 0x38435547 # Ice Lake
|
||||||
:icelake
|
:icelake
|
||||||
|
when 0x07d34b9f # ARMv8.3-A (Vortex, Tempest)
|
||||||
|
:arm_vortex_tempest
|
||||||
else
|
else
|
||||||
:dunno
|
:dunno
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user