diff --git a/libcpuid/recog_intel.c b/libcpuid/recog_intel.c index e8891dd..a51770b 100644 --- a/libcpuid/recog_intel.c +++ b/libcpuid/recog_intel.c @@ -622,8 +622,8 @@ static intel_code_t get_brand_code(struct cpu_id_t* data) { CORE_SOLO, "Intel(R) Core(TM)" }, { ATOM_DIAMONDVILLE, "Atom(TM) CPU [N ][23]## " }, { ATOM_SILVERTHORNE, "Atom(TM) CPU Z" }, - { ATOM_PINEVIEW, "Atom(TM) CPU D" }, - { ATOM_CEDARVIEW, "Atom(TM) CPU N####" }, + { ATOM_PINEVIEW, "Atom(TM) CPU [ND][45]## " }, + { ATOM_CEDARVIEW, "Atom(TM) CPU [ND]#### " }, { ATOM_UNKNOWN, "Atom(TM) CPU" }, }; diff --git a/tests/intel/atom/atom-pineview-3.test b/tests/intel/atom/atom-pineview-3.test new file mode 100644 index 0000000..5eff909 --- /dev/null +++ b/tests/intel/atom/atom-pineview-3.test @@ -0,0 +1,100 @@ +basic_cpuid[0]=0000000a 756e6547 6c65746e 49656e69 +basic_cpuid[1]=000106ca 01020800 0040e39d bfe9fbff +basic_cpuid[2]=4fba5901 0e3080c0 00000000 00000000 +basic_cpuid[3]=00000000 00000000 00000000 00000000 +basic_cpuid[4]=00004121 0140003f 0000003f 00000001 +basic_cpuid[5]=00000040 00000040 00000003 00020220 +basic_cpuid[6]=00000001 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]=07280203 00000000 00000000 00000503 +basic_cpuid[11]=07280203 00000000 00000000 00000503 +basic_cpuid[12]=07280203 00000000 00000000 00000503 +basic_cpuid[13]=07280203 00000000 00000000 00000503 +basic_cpuid[14]=07280203 00000000 00000000 00000503 +basic_cpuid[15]=07280203 00000000 00000000 00000503 +basic_cpuid[16]=07280203 00000000 00000000 00000503 +basic_cpuid[17]=07280203 00000000 00000000 00000503 +basic_cpuid[18]=07280203 00000000 00000000 00000503 +basic_cpuid[19]=07280203 00000000 00000000 00000503 +basic_cpuid[20]=07280203 00000000 00000000 00000503 +basic_cpuid[21]=07280203 00000000 00000000 00000503 +basic_cpuid[22]=07280203 00000000 00000000 00000503 +basic_cpuid[23]=07280203 00000000 00000000 00000503 +basic_cpuid[24]=07280203 00000000 00000000 00000503 +basic_cpuid[25]=07280203 00000000 00000000 00000503 +basic_cpuid[26]=07280203 00000000 00000000 00000503 +basic_cpuid[27]=07280203 00000000 00000000 00000503 +basic_cpuid[28]=07280203 00000000 00000000 00000503 +basic_cpuid[29]=07280203 00000000 00000000 00000503 +basic_cpuid[30]=07280203 00000000 00000000 00000503 +basic_cpuid[31]=07280203 00000000 00000000 00000503 +ext_cpuid[0]=80000008 00000000 00000000 00000000 +ext_cpuid[1]=00000000 00000000 00000001 20100800 +ext_cpuid[2]=20202020 20202020 746e4920 52286c65 +ext_cpuid[3]=74412029 54286d6f 4320294d 4e205550 +ext_cpuid[4]=20303534 20402020 36362e31 007a4847 +ext_cpuid[5]=00000000 00000000 00000000 00000000 +ext_cpuid[6]=00000000 00000000 02006040 00000000 +ext_cpuid[7]=00000000 00000000 00000000 00000000 +ext_cpuid[8]=00003020 00000000 00000000 00000000 +ext_cpuid[9]=07280203 00000000 00000000 00000503 +ext_cpuid[10]=07280203 00000000 00000000 00000503 +ext_cpuid[11]=07280203 00000000 00000000 00000503 +ext_cpuid[12]=07280203 00000000 00000000 00000503 +ext_cpuid[13]=07280203 00000000 00000000 00000503 +ext_cpuid[14]=07280203 00000000 00000000 00000503 +ext_cpuid[15]=07280203 00000000 00000000 00000503 +ext_cpuid[16]=07280203 00000000 00000000 00000503 +ext_cpuid[17]=07280203 00000000 00000000 00000503 +ext_cpuid[18]=07280203 00000000 00000000 00000503 +ext_cpuid[19]=07280203 00000000 00000000 00000503 +ext_cpuid[20]=07280203 00000000 00000000 00000503 +ext_cpuid[21]=07280203 00000000 00000000 00000503 +ext_cpuid[22]=07280203 00000000 00000000 00000503 +ext_cpuid[23]=07280203 00000000 00000000 00000503 +ext_cpuid[24]=07280203 00000000 00000000 00000503 +ext_cpuid[25]=07280203 00000000 00000000 00000503 +ext_cpuid[26]=07280203 00000000 00000000 00000503 +ext_cpuid[27]=07280203 00000000 00000000 00000503 +ext_cpuid[28]=07280203 00000000 00000000 00000503 +ext_cpuid[29]=07280203 00000000 00000000 00000503 +ext_cpuid[30]=07280203 00000000 00000000 00000503 +ext_cpuid[31]=07280203 00000000 00000000 00000503 +intel_fn4[0]=00004121 0140003f 0000003f 00000001 +intel_fn4[1]=00004122 01c0003f 0000003f 00000001 +intel_fn4[2]=00004143 01c0003f 000003ff 00000001 +intel_fn4[3]=00000000 00000000 00000000 00000000 +intel_fn4[4]=00000000 00000000 00000000 00000000 +intel_fn4[5]=00000000 00000000 00000000 00000000 +intel_fn4[6]=00000000 00000000 00000000 00000000 +intel_fn4[7]=00000000 00000000 00000000 00000000 +intel_fn11[0]=07280203 00000000 00000000 00000503 +intel_fn11[1]=07280203 00000000 00000000 00000503 +intel_fn11[2]=07280203 00000000 00000000 00000503 +intel_fn11[3]=07280203 00000000 00000000 00000503 +-------------------------------------------------------------------------------- +6 +12 +10 +6 +28 +1 +2 +24 +32 +512 +-1 +-1 +6 +8 +-1 +-1 +64 +64 +-1 +-1 +128 (non-authoritative) +Atom (Pineview) +fpu vme de pse tsc msr pae mce cx8 apic mtrr sep pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pni dts64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm syscall xd movbe lm lahf_lm diff --git a/tests/intel/broadwell/broadwell-e-i7.test b/tests/intel/broadwell/broadwell-e-i7.test new file mode 100644 index 0000000..978fdb5 --- /dev/null +++ b/tests/intel/broadwell/broadwell-e-i7.test @@ -0,0 +1,100 @@ +basic_cpuid[0]=00000014 756e6547 6c65746e 49656e69 +basic_cpuid[1]=000406f1 04200800 7ffefbbf bfebfbff +basic_cpuid[2]=76036301 00f0b5ff 00000000 00c30000 +basic_cpuid[3]=00000000 00000000 00000000 00000000 +basic_cpuid[4]=3c004121 01c0003f 0000003f 00000000 +basic_cpuid[5]=00000040 00000040 00000003 00002120 +basic_cpuid[6]=00000077 00000002 00000009 00000000 +basic_cpuid[7]=00000000 021cbfbb 00000000 00000000 +basic_cpuid[8]=00000000 00000000 00000000 00000000 +basic_cpuid[9]=00000001 00000000 00000000 00000000 +basic_cpuid[10]=07300403 00000000 00000000 00000603 +basic_cpuid[11]=00000001 00000002 00000100 00000004 +basic_cpuid[12]=00000000 00000000 00000000 00000000 +basic_cpuid[13]=00000007 00000340 00000340 00000000 +basic_cpuid[14]=00000000 00000000 00000000 00000000 +basic_cpuid[15]=00000000 0000004f 00000000 00000002 +basic_cpuid[16]=00000000 00000002 00000000 00000000 +basic_cpuid[17]=00000000 00000000 00000000 00000000 +basic_cpuid[18]=00000000 00000000 00000000 00000000 +basic_cpuid[19]=00000000 00000000 00000000 00000000 +basic_cpuid[20]=00000000 00000001 00000001 00000000 +basic_cpuid[21]=00000000 00000001 00000001 00000000 +basic_cpuid[22]=00000000 00000001 00000001 00000000 +basic_cpuid[23]=00000000 00000001 00000001 00000000 +basic_cpuid[24]=00000000 00000001 00000001 00000000 +basic_cpuid[25]=00000000 00000001 00000001 00000000 +basic_cpuid[26]=00000000 00000001 00000001 00000000 +basic_cpuid[27]=00000000 00000001 00000001 00000000 +basic_cpuid[28]=00000000 00000001 00000001 00000000 +basic_cpuid[29]=00000000 00000001 00000001 00000000 +basic_cpuid[30]=00000000 00000001 00000001 00000000 +basic_cpuid[31]=00000000 00000001 00000001 00000000 +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 3539362d 43205830 40205550 +ext_cpuid[4]=302e3320 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]=0000302e 00000000 00000000 00000000 +ext_cpuid[9]=00000000 00000001 00000001 00000000 +ext_cpuid[10]=00000000 00000001 00000001 00000000 +ext_cpuid[11]=00000000 00000001 00000001 00000000 +ext_cpuid[12]=00000000 00000001 00000001 00000000 +ext_cpuid[13]=00000000 00000001 00000001 00000000 +ext_cpuid[14]=00000000 00000001 00000001 00000000 +ext_cpuid[15]=00000000 00000001 00000001 00000000 +ext_cpuid[16]=00000000 00000001 00000001 00000000 +ext_cpuid[17]=00000000 00000001 00000001 00000000 +ext_cpuid[18]=00000000 00000001 00000001 00000000 +ext_cpuid[19]=00000000 00000001 00000001 00000000 +ext_cpuid[20]=00000000 00000001 00000001 00000000 +ext_cpuid[21]=00000000 00000001 00000001 00000000 +ext_cpuid[22]=00000000 00000001 00000001 00000000 +ext_cpuid[23]=00000000 00000001 00000001 00000000 +ext_cpuid[24]=00000000 00000001 00000001 00000000 +ext_cpuid[25]=00000000 00000001 00000001 00000000 +ext_cpuid[26]=00000000 00000001 00000001 00000000 +ext_cpuid[27]=00000000 00000001 00000001 00000000 +ext_cpuid[28]=00000000 00000001 00000001 00000000 +ext_cpuid[29]=00000000 00000001 00000001 00000000 +ext_cpuid[30]=00000000 00000001 00000001 00000000 +ext_cpuid[31]=00000000 00000001 00000001 00000000 +intel_fn4[0]=3c004121 01c0003f 0000003f 00000000 +intel_fn4[1]=3c004122 01c0003f 0000003f 00000000 +intel_fn4[2]=3c004143 01c0003f 000001ff 00000000 +intel_fn4[3]=3c07c163 04c0003f 00004fff 00000006 +intel_fn4[4]=00000000 00000000 00000000 00000000 +intel_fn4[5]=00000000 00000000 00000000 00000000 +intel_fn4[6]=00000000 00000000 00000000 00000000 +intel_fn4[7]=00000000 00000000 00000000 00000000 +intel_fn11[0]=00000001 00000002 00000100 00000004 +intel_fn11[1]=00000005 00000014 00000201 00000004 +intel_fn11[2]=00000000 00000000 00000002 00000004 +intel_fn11[3]=00000000 00000000 00000003 00000004 +-------------------------------------------------------------------------------- +6 +15 +1 +6 +79 +10 +20 +32 +32 +256 +25600 +-1 +8 +8 +20 +-1 +64 +64 +64 +-1 +128 (non-authoritative) +Broadwell-E (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 dca sse4_1 sse4_2 syscall xd movbe popcnt aes xsave osxsave avx rdtscp lm lahf_lm constant_tsc fma3 f16c rdrand x2apic avx2 bmi1 bmi2 hle rtm