Merge pull request #7924 from claui/hardware_cpu_armv83a

Add CPU family ARMv8.3-A
This commit is contained in:
Claudia Pellegrino 2020-07-07 11:42:09 +02:00 committed by GitHub
commit 99aee97856
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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