1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2025-10-13 11:10:39 +00:00

Detect ABM feature on Intel CPUs

Resolve #144
This commit is contained in:
Xorg 2020-05-18 21:11:01 +02:00
commit 4b06a9a23e
No known key found for this signature in database
GPG key ID: 1E55EE2EFF18BC1A
15 changed files with 15 additions and 14 deletions

View file

@ -232,6 +232,7 @@ static void load_features_common(struct cpu_raw_data_t* raw, struct cpu_id_t* da
};
const struct feature_map_t matchtable_ecx81[] = {
{ 0, CPU_FEATURE_LAHF_LM },
{ 5, CPU_FEATURE_ABM },
};
const struct feature_map_t matchtable_edx87[] = {
{ 8, CPU_FEATURE_CONSTANT_TSC },