diff --git a/libcpuid/cpuid_main.c b/libcpuid/cpuid_main.c index bb5d2a2..a031f1e 100644 --- a/libcpuid/cpuid_main.c +++ b/libcpuid/cpuid_main.c @@ -202,7 +202,7 @@ static void load_features_common(struct cpu_raw_data_t* raw, struct cpu_id_t* da /* apply guesswork to check if the SSE unit width is 128 bit */ switch (data->vendor) { case VENDOR_AMD: - data->sse_size = (data->ext_family >= 16 && data->ext_family != 23) ? 128 : 64; + data->sse_size = (data->ext_family >= 16 && data->ext_family != 17) ? 128 : 64; break; case VENDOR_INTEL: data->sse_size = (data->family == 6 && data->ext_model >= 15) ? 128 : 64; diff --git a/libcpuid/recog_amd.c b/libcpuid/recog_amd.c index 53af034..1865202 100644 --- a/libcpuid/recog_amd.c +++ b/libcpuid/recog_amd.c @@ -212,8 +212,8 @@ const struct match_entry_t cpudb_amd[] = { { 15, -1, -1, 15, 0x4c, 1, 512, -1, TURION_64 , 0, "Turion 64 (Richmond)" }, { 15, -1, -1, 15, 0x68, 2, 256, -1, TURION_X2 , 0, "Turion X2 (Tyler/256K)" }, { 15, -1, -1, 15, 0x68, 2, 512, -1, TURION_X2 , 0, "Turion X2 (Tyler/512K)" }, - { 15, -1, -1, 23, 3, 2, 512, -1, TURION_X2 , 0, "Turion X2 (Griffin/512K)" }, - { 15, -1, -1, 23, 3, 2, 1024, -1, TURION_X2 , 0, "Turion X2 (Griffin/1024K)" }, + { 15, -1, -1, 17, 3, 2, 512, -1, TURION_X2 , 0, "Turion X2 (Griffin/512K)" }, + { 15, -1, -1, 17, 3, 2, 1024, -1, TURION_X2 , 0, "Turion X2 (Griffin/1024K)" }, /* K9 Architecture */ { 15, -1, -1, 16, -1, 1, -1, -1, PHENOM , 0, "Unknown AMD Phenom" },