1
0
mirror of https://github.com/google/cpu_features.git synced 2025-07-02 05:33:17 +02:00

Add cache info for new AMD CPUs (0x8000001D) (#171)

This commit is contained in:
Nikolay Hohsadze
2021-10-18 15:14:29 +03:00
committed by GitHub
parent 2939ece4d2
commit 0925f6953c
3 changed files with 136 additions and 15 deletions

View File

@ -21,6 +21,11 @@
CPU_FEATURES_START_CPP_NAMESPACE
// CPUID Vendors
#define CPU_FEATURES_VENDOR_GENUINE_INTEL "GenuineIntel"
#define CPU_FEATURES_VENDOR_AUTHENTIC_AMD "AuthenticAMD"
#define CPU_FEATURES_VENDOR_HYGON_GENUINE "HygonGenuine"
// See https://en.wikipedia.org/wiki/CPUID for a list of x86 cpu features.
// The field names are based on the short name provided in the wikipedia tables.
typedef struct {