1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2025-07-02 14:04:15 +00:00

Detect x2APIC and AVX512 for AMD CPUs and update tests

AVX512 is supported since Zen 4, meaning all Zen 4 CPUs are x86-64-v4.
x2APIC and AVX512 are present in 'Processor Programming Reference (PPR) for AMD Family 19h Model 11h, Revision B1'.
This commit is contained in:
The Tumultuous Unicorn Of Darkness 2024-08-25 20:49:56 +02:00
parent ca5e1e399d
commit 3b8b7dfaf8
No known key found for this signature in database
GPG key ID: 1E55EE2EFF18BC1A
27 changed files with 56 additions and 48 deletions

View file

@ -58,6 +58,8 @@ def readResultFile():
repdata.append(delimiter)
if field == "arch":
value = s[s.find(":") + 2:]
if field == "feat_level":
value = s[s.find(":") + 2:]
repdata.append(value)
if field == "purpose":
value = s[s.find(":") + 2:]