mirror of
https://github.com/anrieff/libcpuid
synced 2024-12-16 16:35:45 +00:00
Support for 2MB L2 Cache Yorkfield added. Also, made the logic a bit more foolproof by adding explicit core count for those Yorkfields.
git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@95 3b4be424-7ac5-41d7-8526-f4ddcb85d872
This commit is contained in:
parent
c3d236ec86
commit
2f949b18d9
2 changed files with 96 additions and 2 deletions
|
@ -243,8 +243,9 @@ const struct match_entry_t cpudb_intel[] = {
|
|||
{ 6, 7, -1, -1, 23, 1, -1, -1, MOBILE_CORE_DUO , 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, 6144, -1, PENRYN , 0, "Penryn (Core 2 Duo) 6M" },
|
||||
{ 6, 7, -1, -1, 23, 1, 3072, -1, QUAD_CORE , 0, "Yorkfield (Core 2 Quad) 3M"},
|
||||
{ 6, 7, -1, -1, 23, 1, 6144, -1, QUAD_CORE , 0, "Yorkfield (Core 2 Quad) 6M"},
|
||||
{ 6, 7, -1, -1, 23, 4, 2048, -1, QUAD_CORE , 0, "Yorkfield (Core 2 Quad) 2M"},
|
||||
{ 6, 7, -1, -1, 23, 4, 3072, -1, QUAD_CORE , 0, "Yorkfield (Core 2 Quad) 3M"},
|
||||
{ 6, 7, -1, -1, 23, 4, 6144, -1, QUAD_CORE , 0, "Yorkfield (Core 2 Quad) 6M"},
|
||||
|
||||
{ 6, 5, -1, -1, 37, 2, -1, -1, NO_CODE , 0, "Unknown Core i3/i5 CPU" },
|
||||
{ 6, 5, -1, -1, 37, 2, -1, 4096, CORE_I7 , 0, "Arrandale (Core i7)" },
|
||||
|
|
|
@ -4981,3 +4981,96 @@ intel_fn11[3]=00000000 00000000 00000003 00000000
|
|||
Sandy Bridge (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 xd popcnt aes xsave osxsave avx lm lahf_lm
|
||||
--------------------------------------------------------------------------------
|
||||
basic_cpuid[0]=0000000d 756e6547 6c65746e 49656e69
|
||||
basic_cpuid[1]=0001067a 00040800 0c08e3bd bfebfbff
|
||||
basic_cpuid[2]=05b0b101 005657f0 00000000 2cb4307d
|
||||
basic_cpuid[3]=00000000 00000000 00000000 00000000
|
||||
basic_cpuid[4]=0c000121 01c0003f 0000003f 00000001
|
||||
basic_cpuid[5]=00000040 00000040 00000003 00022220
|
||||
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 20100000
|
||||
ext_cpuid[2]=00000000 00000000 00000000 00000000
|
||||
ext_cpuid[3]=00000000 00000000 00000000 51000000
|
||||
ext_cpuid[4]=30303338 20402020 30352e32 007a4847
|
||||
ext_cpuid[5]=00000000 00000000 00000000 00000000
|
||||
ext_cpuid[6]=00000000 00000000 08006040 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]=0c000121 01c0003f 0000003f 00000001
|
||||
intel_fn4[1]=0c000122 01c0003f 0000003f 00000001
|
||||
intel_fn4[2]=0c004143 01c0003f 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
|
||||
4
|
||||
4
|
||||
32
|
||||
32
|
||||
2048
|
||||
-1
|
||||
8
|
||||
8
|
||||
-1
|
||||
64
|
||||
64
|
||||
-1
|
||||
Yorkfield (Core 2 Quad) 2M
|
||||
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 vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xd xsave osxsave lm lahf_lm
|
||||
--------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue