From 27e7508e7dd91f238f7eece0a0261235012c8175 Mon Sep 17 00:00:00 2001 From: Veselin Georgiev Date: Thu, 13 Jan 2011 13:12:21 +0000 Subject: [PATCH] Support for Arrandale i7s git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@91 3b4be424-7ac5-41d7-8526-f4ddcb85d872 --- libcpuid/recog_intel.c | 1 + tests/tests_stash.txt | 93 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) diff --git a/libcpuid/recog_intel.c b/libcpuid/recog_intel.c index e06a4f1..ab5fb68 100644 --- a/libcpuid/recog_intel.c +++ b/libcpuid/recog_intel.c @@ -246,6 +246,7 @@ const struct match_entry_t cpudb_intel[] = { { 6, 7, -1, -1, 23, 1, 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)" }, { 6, 5, -1, -1, 37, 2, -1, 3072, CORE_I5 , 0, "Arrandale (Core i5)" }, { 6, 5, -1, -1, 37, 2, -1, 4096, CORE_I5 , 0, "Clarkdale (Core i5)" }, { 6, 5, -1, -1, 37, 4, -1, 8192, CORE_I5 , 0, "Lynnfield (Core i5)" }, diff --git a/tests/tests_stash.txt b/tests/tests_stash.txt index 793d30d..5f7e51d 100644 --- a/tests/tests_stash.txt +++ b/tests/tests_stash.txt @@ -4702,3 +4702,96 @@ intel_fn11[3]=00000000 00000000 00000000 00000000 Athlon II X4 (Propus) fpu vme de pse tsc msr pae mce cx8 apic mtrr sep pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht pni monitor cx16 syscall popcnt mmxext 3dnow 3dnowext nx fxsr_opt rdtscp lm lahf_lm cmp_legacy svm abm misalignsse sse4a 3dnowprefetch osvw ibs skinit wdt ts ttp tm_amd stc 100mhzsteps hwpstate constant_tsc -------------------------------------------------------------------------------- +basic_cpuid[0]=0000000b 756e6547 6c65746e 49656e69 +basic_cpuid[1]=00020655 00100800 029ae3ff bfebfbff +basic_cpuid[2]=55035a01 00f0b2e3 00000000 09ca212c +basic_cpuid[3]=00000000 00000000 00000000 00000000 +basic_cpuid[4]=1c004121 01c0003f 0000003f 00000000 +basic_cpuid[5]=00000040 00000040 00000003 00001120 +basic_cpuid[6]=00000007 00000002 00000001 00000000 +basic_cpuid[7]=00000000 00000000 00000000 00000000 +basic_cpuid[8]=00000000 00000000 00000000 00000000 +basic_cpuid[9]=00000000 00000000 00000000 00000000 +basic_cpuid[10]=07300403 00000004 00000000 00000603 +basic_cpuid[11]=00000001 00000002 00000100 00000000 +basic_cpuid[12]=00000001 00000002 00000100 00000000 +basic_cpuid[13]=00000001 00000002 00000100 00000000 +basic_cpuid[14]=00000001 00000002 00000100 00000000 +basic_cpuid[15]=00000001 00000002 00000100 00000000 +basic_cpuid[16]=00000001 00000002 00000100 00000000 +basic_cpuid[17]=00000001 00000002 00000100 00000000 +basic_cpuid[18]=00000001 00000002 00000100 00000000 +basic_cpuid[19]=00000001 00000002 00000100 00000000 +basic_cpuid[20]=00000001 00000002 00000100 00000000 +basic_cpuid[21]=00000001 00000002 00000100 00000000 +basic_cpuid[22]=00000001 00000002 00000100 00000000 +basic_cpuid[23]=00000001 00000002 00000100 00000000 +basic_cpuid[24]=00000001 00000002 00000100 00000000 +basic_cpuid[25]=00000001 00000002 00000100 00000000 +basic_cpuid[26]=00000001 00000002 00000100 00000000 +basic_cpuid[27]=00000001 00000002 00000100 00000000 +basic_cpuid[28]=00000001 00000002 00000100 00000000 +basic_cpuid[29]=00000001 00000002 00000100 00000000 +basic_cpuid[30]=00000001 00000002 00000100 00000000 +basic_cpuid[31]=00000001 00000002 00000100 00000000 +ext_cpuid[0]=80000008 00000000 00000000 00000000 +ext_cpuid[1]=00000000 00000000 00000001 28100000 +ext_cpuid[2]=65746e49 2952286c 726f4320 4d542865 +ext_cpuid[3]=37692029 55504320 20202020 4d202020 +ext_cpuid[4]=30343620 20402020 30382e32 007a4847 +ext_cpuid[5]=00000000 00000000 00000000 00000000 +ext_cpuid[6]=00000000 00000000 01006040 00000000 +ext_cpuid[7]=00000000 00000000 00000000 00000100 +ext_cpuid[8]=00003024 00000000 00000000 00000000 +ext_cpuid[9]=00000001 00000002 00000100 00000000 +ext_cpuid[10]=00000001 00000002 00000100 00000000 +ext_cpuid[11]=00000001 00000002 00000100 00000000 +ext_cpuid[12]=00000001 00000002 00000100 00000000 +ext_cpuid[13]=00000001 00000002 00000100 00000000 +ext_cpuid[14]=00000001 00000002 00000100 00000000 +ext_cpuid[15]=00000001 00000002 00000100 00000000 +ext_cpuid[16]=00000001 00000002 00000100 00000000 +ext_cpuid[17]=00000001 00000002 00000100 00000000 +ext_cpuid[18]=00000001 00000002 00000100 00000000 +ext_cpuid[19]=00000001 00000002 00000100 00000000 +ext_cpuid[20]=00000001 00000002 00000100 00000000 +ext_cpuid[21]=00000001 00000002 00000100 00000000 +ext_cpuid[22]=00000001 00000002 00000100 00000000 +ext_cpuid[23]=00000001 00000002 00000100 00000000 +ext_cpuid[24]=00000001 00000002 00000100 00000000 +ext_cpuid[25]=00000001 00000002 00000100 00000000 +ext_cpuid[26]=00000001 00000002 00000100 00000000 +ext_cpuid[27]=00000001 00000002 00000100 00000000 +ext_cpuid[28]=00000001 00000002 00000100 00000000 +ext_cpuid[29]=00000001 00000002 00000100 00000000 +ext_cpuid[30]=00000001 00000002 00000100 00000000 +ext_cpuid[31]=00000001 00000002 00000100 00000000 +intel_fn4[0]=1c004121 01c0003f 0000003f 00000000 +intel_fn4[1]=1c004122 00c0003f 0000007f 00000000 +intel_fn4[2]=1c004143 01c0003f 000001ff 00000000 +intel_fn4[3]=1c03c163 03c0003f 00000fff 00000002 +intel_fn11[0]=00000001 00000002 00000100 00000000 +intel_fn11[1]=00000004 00000004 00000201 00000000 +intel_fn11[2]=00000000 00000000 00000002 00000000 +intel_fn11[3]=00000000 00000000 00000003 00000000 +-------------------------------------------------------------------------------- +6 +5 +5 +6 +37 +2 +4 +32 +32 +256 +4096 +8 +8 +16 +64 +64 +64 +Arrandale (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 smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 xd popcnt aes lm lahf_lm +--------------------------------------------------------------------------------