From 2e4cbb5304cbf839f721dc3579bcfca343e32e67 Mon Sep 17 00:00:00 2001 From: The Tumultuous Unicorn Of Darkness Date: Sat, 3 May 2025 22:09:22 +0200 Subject: [PATCH] DB: fix detection of Intel Broadwell-Y and Apollo Lake In 87bc7194607fc00f964e489de41f1cf48c15b195, 'Processor' was removed from brand string. 5Y70 and Atom E3930 were not matching the proper entry anymore (score become lower than expected for correct entries). --- libcpuid/recog_intel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libcpuid/recog_intel.c b/libcpuid/recog_intel.c index f2fe037..1372d80 100644 --- a/libcpuid/recog_intel.c +++ b/libcpuid/recog_intel.c @@ -318,7 +318,7 @@ const struct match_entry_t cpudb_intel[] = { { 6, 13, -1, -1, 61, 2, -1, -1, { "Core(TM) i3-5###U", 10 }, "Core i3 (Broadwell-U)", "14 nm" }, { 6, 13, -1, -1, 61, 2, -1, -1, { "Pentium(R) 3###U", 6 }, "Pentium (Broadwell-U)", "14 nm" }, { 6, 13, -1, -1, 61, 2, -1, -1, { "Celeron(R) 3###U", 6 }, "Celeron (Broadwell-U)", "14 nm" }, - { 6, 13, -1, -1, 61, 2, -1, -1, { "Processor 5Y##", 6 }, "Core M (Broadwell-Y)", "14 nm" }, + { 6, 13, -1, -1, 61, 2, -1, -1, { "5Y##", 4 }, "Core M (Broadwell-Y)", "14 nm" }, { 6, 15, -1, -1, 79, -1, -1, -1, { "Xeon(R) E7-#### v4", 6 }, "Xeon E7 (Broadwell)", "14 nm" }, { 6, 15, -1, -1, 79, -1, -1, -1, { "Xeon(R) E5-####[ACLPRW] v4", 8 }, "Xeon E5 (Broadwell)", "14 nm" }, { 6, 15, -1, -1, 79, -1, -1, -1, { "Xeon(R) E5-#### v4", 6 }, "Xeon E5 (Broadwell)", "14 nm" }, @@ -481,8 +481,8 @@ const struct match_entry_t cpudb_intel[] = { { 6, 12, -1, -1, 92, -1, -1, -1, { "Celeron(R) J3###", 6 }, "Celeron (Apollo Lake)", "14 nm" }, { 6, 12, -1, -1, 92, -1, -1, -1, { "Pentium(R) N4###", 6 }, "Pentium (Apollo Lake)", "14 nm" }, { 6, 12, -1, -1, 92, -1, -1, -1, { "Celeron(R) N3###", 6 }, "Celeron (Apollo Lake)", "14 nm" }, - { 6, 12, -1, -1, 92, -1, -1, -1, { "Atom(TM)", 2 }, "Atom (Apollo Lake)", "14 nm" }, - { 6, 15, -1, -1, 95, -1, -1, -1, { "Atom(TM)", 2 }, "Atom (Denverton)" , "14 nm" }, + { 6, 12, -1, -1, 92, -1, -1, -1, { "Atom(TM) E39##", 6 }, "Atom (Apollo Lake)", "14 nm" }, + { 6, 15, -1, -1, 95, -1, -1, -1, { "Atom(TM) C39##", 6 }, "Atom (Denverton)" , "14 nm" }, /* Goldmont Plus CPUs (2017, 14 nm, low-power) */ { 6, 10, -1, -1, 122, -1, -1, -1, { "Pentium(R) Silver [JN]5###", 8 }, "Pentium Silver (Gemini Lake)", "14 nm" },