Merge pull request #12587 from Homebrew/fxcoudert-patch-1-1

Add latest CPUs
This commit is contained in:
FX Coudert 2021-12-22 17:03:16 +01:00 committed by GitHub
commit 2c57a98572
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -107,6 +107,8 @@ module Hardware
:arm_lightning_thunder
when 0x573b5eec, 0x1b588bb3 # ARMv8.4-A (Firestorm, Icestorm)
:arm_firestorm_icestorm
when 0xda33d83d # ARMv8.5-A (Blizzard, Avalanche)
:arm_blizzard_avalanche
else
:dunno
end
@ -138,6 +140,8 @@ module Hardware
:kabylake
when 0x38435547 # Ice Lake
:icelake
when 0x1cf8a03e # Comet Lake
:cometlake
else
:dunno
end

View File

@ -28,6 +28,7 @@ describe Hardware::CPU do
:amd_k10,
:amd_k12,
:arm,
:arm_blizzard_avalanche,
:arm_firestorm_icestorm,
:arm_hurricane_zephyr,
:arm_lightning_thunder,
@ -40,6 +41,7 @@ describe Hardware::CPU do
:broadwell,
:bulldozer,
:cannonlake,
:cometlake,
:core,
:core2,
:dothan,