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:
Claudia 2020-07-06 20:28:10 +02:00
parent f72328d9c0
commit 559d0a91a2
No known key found for this signature in database
GPG Key ID: 246AC3C0F10BE51F

View File

@ -21,8 +21,6 @@ module Hardware
end
def family
return :dunno if arm?
case sysctl_int("hw.cpufamily")
when 0x73d67300 # Yonah: Core Solo/Duo
:core
@ -48,6 +46,8 @@ module Hardware
:kabylake
when 0x38435547 # Ice Lake
:icelake
when 0x07d34b9f # ARMv8.3-A (Vortex, Tempest)
:arm_vortex_tempest
else
:dunno
end