archspec / archspec-json

Other
20 stars 33 forks source link

add graviton3 as known CPU microarchitecture #51

Closed boegel closed 2 years ago

boegel commented 2 years ago

fixes #39

I've marked this as draft because I need some input on the compilers part for this entry (which I've omitted now)

Detection works as expected on an AWS C7g (c7x.2xlarge) instance:

$ archspec cpu
graviton3

$ head -9 /proc/cpuinfo
processor   : 0
BogoMIPS    : 2100.00
Features    : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x1
CPU part    : 0xd40
CPU revision    : 1
boegel commented 2 years ago

closing in favor of #53 by @OliverPerks