mirror of
https://github.com/anrieff/libcpuid
synced 2024-11-10 22:59:13 +00:00
Recognize Dual Core (Penryn) and more Core2 processors
By adding a new entry to the match table There's also a new test: Intel Pentium Dual-Core Mobile T4500 Specs: http://www.cpu-world.com/CPUs/Pentium_Dual-Core/Intel-Pentium%20Dual-Core%20Mobile%20T4500%20AW80577GG0521MA.html
This commit is contained in:
parent
1073370613
commit
4047785e97
2 changed files with 95 additions and 0 deletions
|
@ -266,6 +266,7 @@ const struct match_entry_t cpudb_intel[] = {
|
||||||
{ 6, 7, -1, -1, 23, 2, 3072, -1, WOLFDALE , 0, "Wolfdale (Core 2 Duo) 3M" },
|
{ 6, 7, -1, -1, 23, 2, 3072, -1, WOLFDALE , 0, "Wolfdale (Core 2 Duo) 3M" },
|
||||||
{ 6, 7, -1, -1, 23, 2, 6144, -1, WOLFDALE , 0, "Wolfdale (Core 2 Duo) 6M" },
|
{ 6, 7, -1, -1, 23, 2, 6144, -1, WOLFDALE , 0, "Wolfdale (Core 2 Duo) 6M" },
|
||||||
{ 6, 7, -1, -1, 23, 1, -1, -1, MOBILE_CORE_DUO , 0, "Penryn (Core 2 Duo)" },
|
{ 6, 7, -1, -1, 23, 1, -1, -1, MOBILE_CORE_DUO , 0, "Penryn (Core 2 Duo)" },
|
||||||
|
{ 6, 7, -1, -1, 23, 2, 1024, -1, PENRYN , 0, "Penryn (Core 2 Duo)" },
|
||||||
{ 6, 7, -1, -1, 23, 2, 3072, -1, PENRYN , 0, "Penryn (Core 2 Duo) 3M" },
|
{ 6, 7, -1, -1, 23, 2, 3072, -1, PENRYN , 0, "Penryn (Core 2 Duo) 3M" },
|
||||||
{ 6, 7, -1, -1, 23, 2, 6144, -1, PENRYN , 0, "Penryn (Core 2 Duo) 6M" },
|
{ 6, 7, -1, -1, 23, 2, 6144, -1, PENRYN , 0, "Penryn (Core 2 Duo) 6M" },
|
||||||
{ 6, 7, -1, -1, 23, 4, 2048, -1, QUAD_CORE , 0, "Yorkfield (Core 2 Quad) 2M"},
|
{ 6, 7, -1, -1, 23, 4, 2048, -1, QUAD_CORE , 0, "Yorkfield (Core 2 Quad) 2M"},
|
||||||
|
@ -630,6 +631,7 @@ static intel_code_t get_brand_code(struct cpu_id_t* data)
|
||||||
{ CELERON, "Celeron" },
|
{ CELERON, "Celeron" },
|
||||||
{ MOBILE_PENTIUM_M, "Pentium(R) M" },
|
{ MOBILE_PENTIUM_M, "Pentium(R) M" },
|
||||||
{ CORE_SOLO, "Pentium(R) Dual CPU" },
|
{ CORE_SOLO, "Pentium(R) Dual CPU" },
|
||||||
|
{ CORE_SOLO, "Pentium(R) Dual-Core" },
|
||||||
{ PENTIUM_D, "Pentium(R) D" },
|
{ PENTIUM_D, "Pentium(R) D" },
|
||||||
{ PENTIUM, "Pentium" },
|
{ PENTIUM, "Pentium" },
|
||||||
{ CORE_SOLO, "Genuine Intel(R) CPU" },
|
{ CORE_SOLO, "Genuine Intel(R) CPU" },
|
||||||
|
|
93
tests/intel/core2/penryn-mobile.test
Normal file
93
tests/intel/core2/penryn-mobile.test
Normal file
|
@ -0,0 +1,93 @@
|
||||||
|
basic_cpuid[0]=0000000d 756e6547 6c65746e 49656e69
|
||||||
|
basic_cpuid[1]=0001067a 00020800 0c00e39d bfebfbff
|
||||||
|
basic_cpuid[2]=05b0b101 005657f0 00000000 2cb43078
|
||||||
|
basic_cpuid[3]=00000000 00000000 00000000 00000000
|
||||||
|
basic_cpuid[4]=04000121 01c0003f 0000003f 00000001
|
||||||
|
basic_cpuid[5]=00000040 00000040 00000003 00002220
|
||||||
|
basic_cpuid[6]=00000001 00000002 00000003 00000000
|
||||||
|
basic_cpuid[7]=00000000 00000000 00000000 00000000
|
||||||
|
basic_cpuid[8]=00000400 00000000 00000000 00000000
|
||||||
|
basic_cpuid[9]=00000000 00000000 00000000 00000000
|
||||||
|
basic_cpuid[10]=07280202 00000000 00000000 00000503
|
||||||
|
basic_cpuid[11]=00000000 00000000 00000000 00000000
|
||||||
|
basic_cpuid[12]=00000000 00000000 00000000 00000000
|
||||||
|
basic_cpuid[13]=00000003 00000240 00000240 00000000
|
||||||
|
basic_cpuid[14]=00000003 00000240 00000240 00000000
|
||||||
|
basic_cpuid[15]=00000003 00000240 00000240 00000000
|
||||||
|
basic_cpuid[16]=00000003 00000240 00000240 00000000
|
||||||
|
basic_cpuid[17]=00000003 00000240 00000240 00000000
|
||||||
|
basic_cpuid[18]=00000003 00000240 00000240 00000000
|
||||||
|
basic_cpuid[19]=00000003 00000240 00000240 00000000
|
||||||
|
basic_cpuid[20]=00000003 00000240 00000240 00000000
|
||||||
|
basic_cpuid[21]=00000003 00000240 00000240 00000000
|
||||||
|
basic_cpuid[22]=00000003 00000240 00000240 00000000
|
||||||
|
basic_cpuid[23]=00000003 00000240 00000240 00000000
|
||||||
|
basic_cpuid[24]=00000003 00000240 00000240 00000000
|
||||||
|
basic_cpuid[25]=00000003 00000240 00000240 00000000
|
||||||
|
basic_cpuid[26]=00000003 00000240 00000240 00000000
|
||||||
|
basic_cpuid[27]=00000003 00000240 00000240 00000000
|
||||||
|
basic_cpuid[28]=00000003 00000240 00000240 00000000
|
||||||
|
basic_cpuid[29]=00000003 00000240 00000240 00000000
|
||||||
|
basic_cpuid[30]=00000003 00000240 00000240 00000000
|
||||||
|
basic_cpuid[31]=00000003 00000240 00000240 00000000
|
||||||
|
ext_cpuid[0]=80000008 00000000 00000000 00000000
|
||||||
|
ext_cpuid[1]=00000000 00000000 00000001 20100800
|
||||||
|
ext_cpuid[2]=746e6550 286d7569 44202952 2d6c6175
|
||||||
|
ext_cpuid[3]=65726f43 55504320 20202020 54202020
|
||||||
|
ext_cpuid[4]=30303534 20402020 30332e32 007a4847
|
||||||
|
ext_cpuid[5]=00000000 00000000 00000000 00000000
|
||||||
|
ext_cpuid[6]=00000000 00000000 04004040 00000000
|
||||||
|
ext_cpuid[7]=00000000 00000000 00000000 00000000
|
||||||
|
ext_cpuid[8]=00003024 00000000 00000000 00000000
|
||||||
|
ext_cpuid[9]=00000003 00000240 00000240 00000000
|
||||||
|
ext_cpuid[10]=00000003 00000240 00000240 00000000
|
||||||
|
ext_cpuid[11]=00000003 00000240 00000240 00000000
|
||||||
|
ext_cpuid[12]=00000003 00000240 00000240 00000000
|
||||||
|
ext_cpuid[13]=00000003 00000240 00000240 00000000
|
||||||
|
ext_cpuid[14]=00000003 00000240 00000240 00000000
|
||||||
|
ext_cpuid[15]=00000003 00000240 00000240 00000000
|
||||||
|
ext_cpuid[16]=00000003 00000240 00000240 00000000
|
||||||
|
ext_cpuid[17]=00000003 00000240 00000240 00000000
|
||||||
|
ext_cpuid[18]=00000003 00000240 00000240 00000000
|
||||||
|
ext_cpuid[19]=00000003 00000240 00000240 00000000
|
||||||
|
ext_cpuid[20]=00000003 00000240 00000240 00000000
|
||||||
|
ext_cpuid[21]=00000003 00000240 00000240 00000000
|
||||||
|
ext_cpuid[22]=00000003 00000240 00000240 00000000
|
||||||
|
ext_cpuid[23]=00000003 00000240 00000240 00000000
|
||||||
|
ext_cpuid[24]=00000003 00000240 00000240 00000000
|
||||||
|
ext_cpuid[25]=00000003 00000240 00000240 00000000
|
||||||
|
ext_cpuid[26]=00000003 00000240 00000240 00000000
|
||||||
|
ext_cpuid[27]=00000003 00000240 00000240 00000000
|
||||||
|
ext_cpuid[28]=00000003 00000240 00000240 00000000
|
||||||
|
ext_cpuid[29]=00000003 00000240 00000240 00000000
|
||||||
|
ext_cpuid[30]=00000003 00000240 00000240 00000000
|
||||||
|
ext_cpuid[31]=00000003 00000240 00000240 00000000
|
||||||
|
intel_fn4[0]=04000121 01c0003f 0000003f 00000001
|
||||||
|
intel_fn4[1]=04000122 01c0003f 0000003f 00000001
|
||||||
|
intel_fn4[2]=04004143 00c0003f 00000fff 00000001
|
||||||
|
intel_fn4[3]=00000000 00000000 00000000 00000000
|
||||||
|
intel_fn11[0]=00000000 00000000 00000000 00000000
|
||||||
|
intel_fn11[1]=00000000 00000000 00000000 00000000
|
||||||
|
intel_fn11[2]=00000000 00000000 00000000 00000000
|
||||||
|
intel_fn11[3]=00000000 00000000 00000000 00000000
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
6
|
||||||
|
7
|
||||||
|
10
|
||||||
|
6
|
||||||
|
23
|
||||||
|
2
|
||||||
|
2
|
||||||
|
32
|
||||||
|
32
|
||||||
|
1024
|
||||||
|
-1
|
||||||
|
8
|
||||||
|
4
|
||||||
|
-1
|
||||||
|
64
|
||||||
|
64
|
||||||
|
-1
|
||||||
|
128 (non-authoritative)
|
||||||
|
Penryn (Core 2 Duo)
|
||||||
|
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 dts64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm syscall xd xsave osxsave lm lahf_lm
|
Loading…
Reference in a new issue