Current output in e.g. hserr / hsinfo file only contains hex strings decoding the CPU vendor / CPU implementer (and another the CPU model).
We could improve the output like lscpu on Linux does.
The current output is e.g.
CPU: total 16 (initial active 16) 0x43:0x1:0x0af:1, fp, asimd, evtstrm, aes, pmull, sha1, sha256, crc32, lse
or
CPU: total 16 (initial active 16) 0x41:0x3:0xd0c:1, fp, asimd, evtstrm, aes, pmull, sha1, sha256, crc32, lse, dcpop
is probably not clear to many people, and
CPU: total 16 (initial active 16) implementer Cavium 0x43:0x1:0x0af:1, fp, asimd, evtstrm, aes, pmull, sha1, sha256, crc32, lse
CPU: total 16 (initial active 16) implementer ARM 0x41:0x3:0xd0c:1, fp, asimd, evtstrm, aes, pmull, sha1, sha256, crc32, lse, dcpop
would be clearer and give some hints what CPU it is.
(we could even decode 0x0af and 0xd0c to get the ‘CPU part’ details like CPU_PART_THUNDERX2 or CPU_PART_NEOVERSE_N1 but that’s a bit more work )
See also some info on the coding here (Linux / lscpu must have some similar tables)
https://github.com/freebsd/freebsd-src/blob/abe84e61107639cdb5b7854ff74f9a5a91984e3d/sys/arm64/include/cpu.h#L73
We could improve the output like lscpu on Linux does.
The current output is e.g.
CPU: total 16 (initial active 16) 0x43:0x1:0x0af:1, fp, asimd, evtstrm, aes, pmull, sha1, sha256, crc32, lse
or
CPU: total 16 (initial active 16) 0x41:0x3:0xd0c:1, fp, asimd, evtstrm, aes, pmull, sha1, sha256, crc32, lse, dcpop
is probably not clear to many people, and
CPU: total 16 (initial active 16) implementer Cavium 0x43:0x1:0x0af:1, fp, asimd, evtstrm, aes, pmull, sha1, sha256, crc32, lse
CPU: total 16 (initial active 16) implementer ARM 0x41:0x3:0xd0c:1, fp, asimd, evtstrm, aes, pmull, sha1, sha256, crc32, lse, dcpop
would be clearer and give some hints what CPU it is.
(we could even decode 0x0af and 0xd0c to get the ‘CPU part’ details like CPU_PART_THUNDERX2 or CPU_PART_NEOVERSE_N1 but that’s a bit more work )
See also some info on the coding here (Linux / lscpu must have some similar tables)
https://github.com/freebsd/freebsd-src/blob/abe84e61107639cdb5b7854ff74f9a5a91984e3d/sys/arm64/include/cpu.h#L73
- relates to
-
JDK-8356774 AArch64: StubGen final stubs buffer too small for ZGC on Cavium CPU
-
- Resolved
-