diff options
author | Daniele Affinita <danieleaffinita2000@gmail.com> | 2022-08-04 23:30:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-04 23:30:46 +0300 |
commit | 426b036e8dc04a296c8e837745d7fa187f57670d (patch) | |
tree | a1b7abc26b21947942c05845cd01de6206adb11e | |
parent | c6b0a803a879105f997ddbab80506c2978cd7980 (diff) |
Added some missing amd k12 uarch (#259)
* Add comment about AMD_K12 LLANO.
* Add family 0x12 model 0x00 to it.
-rw-r--r-- | include/cpuinfo_x86.h | 2 | ||||
-rw-r--r-- | src/impl_x86__base_implementation.inl | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/cpuinfo_x86.h b/include/cpuinfo_x86.h index a483d09..49d27b9 100644 --- a/include/cpuinfo_x86.h +++ b/include/cpuinfo_x86.h @@ -159,7 +159,7 @@ typedef enum { AMD_HAMMER, // K8 HAMMER AMD_K10, // K10 AMD_K11, // K11 - AMD_K12, // K12 + AMD_K12, // K12 LLANO AMD_BOBCAT, // K14 BOBCAT AMD_PILEDRIVER, // K15 PILEDRIVER AMD_STREAMROLLER, // K15 STREAMROLLER diff --git a/src/impl_x86__base_implementation.inl b/src/impl_x86__base_implementation.inl index 12bc918..77122ca 100644 --- a/src/impl_x86__base_implementation.inl +++ b/src/impl_x86__base_implementation.inl @@ -672,6 +672,7 @@ X86Microarchitecture GetX86Microarchitecture(const X86Info* info) { case CPUID(0x11, 0x03): // http://developer.amd.com/wordpress/media/2012/10/41788.pdf return AMD_K11; + case CPUID(0x12, 0x00): case CPUID(0x12, 0x01): // https://www.amd.com/system/files/TechDocs/44739_12h_Rev_Gd.pdf return AMD_K12; |