From 4846161cfc89ca97b50df7ee49ee6dc9d1671fb7 Mon Sep 17 00:00:00 2001 From: Xorg Date: Sat, 14 Nov 2020 12:56:31 +0100 Subject: [PATCH] DB: add Kaby Lake-G https://en.wikichip.org/wiki/intel/cores/kaby_lake_g Test file converted from http://users.atw.hu/instlatx64/GenuineIntel/GenuineIntel00906E9_KabylakeG_CPUID.txt --- libcpuid/recog_intel.c | 2 + tests/intel/lakes/kaby-lake-i7-g.test | 106 ++++++++++++++++++++++++++ 2 files changed, 108 insertions(+) create mode 100644 tests/intel/lakes/kaby-lake-i7-g.test diff --git a/libcpuid/recog_intel.c b/libcpuid/recog_intel.c index f19d89e..40db6f2 100644 --- a/libcpuid/recog_intel.c +++ b/libcpuid/recog_intel.c @@ -348,6 +348,8 @@ const struct match_entry_t cpudb_intel[] = { { 6, 14, 9, -1, 142, 2, -1, -1, NC, PENTIUM_ , 0, "Kaby Lake-U (Pentium)" }, { 6, 14, 9, -1, 142, 2, -1, -1, NC, CELERON_ , 0, "Kaby Lake-U (Celeron)" }, { 6, 14, 9, -1, 142, 2, -1, -1, NC, CORE_|_M_|_3 , 0, "Kaby Lake-U (Core m3)" }, + { 6, 14, 9, -1, 158, 4, -1, -1, NC, CORE_|_I_|_7 , 0, "Kaby Lake-G (Core i7)" }, + { 6, 14, 9, -1, 158, 4, -1, -1, NC, CORE_|_I_|_5 , 0, "Kaby Lake-G (Core i5)" }, { 6, 14, 10, -1, 142, 4, -1, -1, NC, CORE_|_I_|_7 , 0, "Kaby Lake-R (Core i7)" }, /* i7-8550U + i7-8650U */ { 6, 14, 10, -1, 142, 4, -1, -1, NC, CORE_|_I_|_5 , 0, "Kaby Lake-R (Core i5)" }, /* i5-8250U + i5-8350U /* diff --git a/tests/intel/lakes/kaby-lake-i7-g.test b/tests/intel/lakes/kaby-lake-i7-g.test new file mode 100644 index 0000000..b2a1855 --- /dev/null +++ b/tests/intel/lakes/kaby-lake-i7-g.test @@ -0,0 +1,106 @@ +basic_cpuid[0]=00000016 756e6547 6c65746e 49656e69 +basic_cpuid[1]=000906e9 00100800 7ffafbbf bfebfbff +basic_cpuid[2]=76036301 00f0b5ff 00000000 00c30000 +basic_cpuid[3]=00000000 00000000 00000000 00000000 +basic_cpuid[4]=1c004121 01c0003f 0000003f 00000000 +basic_cpuid[5]=00000040 00000040 00000003 11142120 +basic_cpuid[6]=000027f7 00000002 00000009 00000000 +basic_cpuid[7]=00000000 029c67af 00000000 00000000 +basic_cpuid[8]=00000000 00000000 00000000 00000000 +basic_cpuid[9]=00000000 00000000 00000000 00000000 +basic_cpuid[10]=07300404 00000000 00000000 00000603 +basic_cpuid[11]=00000001 00000002 00000100 00000000 +basic_cpuid[12]=00000000 00000000 00000000 00000000 +basic_cpuid[13]=0000001f 00000440 00000440 00000000 +basic_cpuid[14]=00000000 00000000 00000000 00000000 +basic_cpuid[15]=00000000 00000000 00000000 00000000 +basic_cpuid[16]=00000000 00000000 00000000 00000000 +basic_cpuid[17]=00000000 00000000 00000000 00000000 +basic_cpuid[18]=00000001 00000000 00000000 0000241f +basic_cpuid[19]=00000000 00000000 00000000 00000000 +basic_cpuid[20]=00000001 0000000f 00000007 00000000 +basic_cpuid[21]=00000002 00000102 00000000 00000000 +basic_cpuid[22]=00000c1c 00001004 00000064 00000000 +basic_cpuid[23]=ffffffff ffffffff ffffffff ffffffff +basic_cpuid[24]=ffffffff ffffffff ffffffff ffffffff +basic_cpuid[25]=ffffffff ffffffff ffffffff ffffffff +basic_cpuid[26]=ffffffff ffffffff ffffffff ffffffff +basic_cpuid[27]=ffffffff ffffffff ffffffff ffffffff +basic_cpuid[28]=ffffffff ffffffff ffffffff ffffffff +basic_cpuid[29]=ffffffff ffffffff ffffffff ffffffff +basic_cpuid[30]=ffffffff ffffffff ffffffff ffffffff +basic_cpuid[31]=ffffffff ffffffff ffffffff ffffffff +ext_cpuid[0]=80000008 00000000 00000000 00000000 +ext_cpuid[1]=00000000 00000000 00000121 2c100800 +ext_cpuid[2]=65746e49 2952286c 726f4320 4d542865 +ext_cpuid[3]=37692029 3037382d 43204735 40205550 +ext_cpuid[4]=312e3320 7a484730 00000000 00000000 +ext_cpuid[5]=00000000 00000000 00000000 00000000 +ext_cpuid[6]=00000000 00000000 01006040 00000000 +ext_cpuid[7]=00000000 00000000 00000000 00000100 +ext_cpuid[8]=00003027 00000000 00000000 00000000 +ext_cpuid[9]=ffffffff ffffffff ffffffff ffffffff +ext_cpuid[10]=ffffffff ffffffff ffffffff ffffffff +ext_cpuid[11]=ffffffff ffffffff ffffffff ffffffff +ext_cpuid[12]=ffffffff ffffffff ffffffff ffffffff +ext_cpuid[13]=ffffffff ffffffff ffffffff ffffffff +ext_cpuid[14]=ffffffff ffffffff ffffffff ffffffff +ext_cpuid[15]=ffffffff ffffffff ffffffff ffffffff +ext_cpuid[16]=ffffffff ffffffff ffffffff ffffffff +ext_cpuid[17]=ffffffff ffffffff ffffffff ffffffff +ext_cpuid[18]=ffffffff ffffffff ffffffff ffffffff +ext_cpuid[19]=ffffffff ffffffff ffffffff ffffffff +ext_cpuid[20]=ffffffff ffffffff ffffffff ffffffff +ext_cpuid[21]=ffffffff ffffffff ffffffff ffffffff +ext_cpuid[22]=ffffffff ffffffff ffffffff ffffffff +ext_cpuid[23]=ffffffff ffffffff ffffffff ffffffff +ext_cpuid[24]=ffffffff ffffffff ffffffff ffffffff +ext_cpuid[25]=ffffffff ffffffff ffffffff ffffffff +ext_cpuid[26]=ffffffff ffffffff ffffffff ffffffff +ext_cpuid[27]=ffffffff ffffffff ffffffff ffffffff +ext_cpuid[28]=ffffffff ffffffff ffffffff ffffffff +ext_cpuid[29]=ffffffff ffffffff ffffffff ffffffff +ext_cpuid[30]=ffffffff ffffffff ffffffff ffffffff +ext_cpuid[31]=ffffffff ffffffff ffffffff ffffffff +intel_fn4[0]=1c004121 01c0003f 0000003f 00000000 +intel_fn4[1]=1c004122 01c0003f 0000003f 00000000 +intel_fn4[2]=1c004143 00c0003f 000003ff 00000000 +intel_fn4[3]=1c03c163 03c0003f 00001fff 00000006 +intel_fn4[4]=ffffffff ffffffff ffffffff ffffffff +intel_fn4[5]=ffffffff ffffffff ffffffff ffffffff +intel_fn4[6]=ffffffff ffffffff ffffffff ffffffff +intel_fn4[7]=ffffffff ffffffff ffffffff ffffffff +intel_fn11[0]=00000001 00000002 00000100 00000007 +intel_fn11[1]=00000004 00000008 00000201 00000007 +intel_fn11[2]=ffffffff ffffffff ffffffff ffffffff +intel_fn11[3]=ffffffff ffffffff ffffffff ffffffff +amd_fn8000001dh[0]=ffffffff ffffffff ffffffff ffffffff +amd_fn8000001dh[1]=ffffffff ffffffff ffffffff ffffffff +amd_fn8000001dh[2]=ffffffff ffffffff ffffffff ffffffff +amd_fn8000001dh[3]=ffffffff ffffffff ffffffff ffffffff +-------------------------------------------------------------------------------- +6 +14 +9 +6 +158 +4 +8 +32 +32 +256 +8192 +-1 +8 +8 +4 +16 +-1 +64 +64 +64 +64 +-1 +128 (non-authoritative) +Kaby Lake-G (Core i7) +fpu vme de pse tsc msr pae mce cx8 apic mtrr sep pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pni pclmul dts64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 syscall xd movbe popcnt aes xsave osxsave avx rdtscp lm lahf_lm abm constant_tsc fma3 f16c rdrand x2apic avx2 bmi1 bmi2 sgx rdseed adx