diff --git a/libcpuid/recog_amd.c b/libcpuid/recog_amd.c index ce9134d..2527fcc 100644 --- a/libcpuid/recog_amd.c +++ b/libcpuid/recog_amd.c @@ -247,7 +247,9 @@ const struct match_entry_t cpudb_amd[] = { /* 3rd-gen, Steamroller core (2014): */ { 15, 0, -1, 21, 48, 2, -1, -1, FUSION_A, 0 , 0, "Kaveri X2" }, { 15, 0, -1, 21, 48, 4, -1, -1, FUSION_A, 0 , 0, "Kaveri X4" }, + { 15, 8, -1, 21, 56, 4, -1, -1, FUSION_A, 0 , 0, "Godavari X2" }, { 15, 8, -1, 21, 56, 4, -1, -1, FUSION_A, 0 , 0, "Godavari X4" }, + { 15, 8, -1, 21, 56, 4, -1, -1, NC , ATHLON_|_X4 , 0, "Godavari X4" }, /* 4th-gen, Excavator core (2015): */ { 15, 1, -1, 21, 96, 2, -1, -1, FUSION_A, 0 , 0, "Carrizo X2" }, { 15, 1, -1, 21, 96, 4, -1, -1, FUSION_A, 0 , 0, "Carrizo X4" }, diff --git a/tests/amd/bulldozer/godavari-x4.test b/tests/amd/bulldozer/godavari-x4.test new file mode 100644 index 0000000..0f0062e --- /dev/null +++ b/tests/amd/bulldozer/godavari-x4.test @@ -0,0 +1,106 @@ +basic_cpuid[0]=0000000d 68747541 444d4163 69746e65 +basic_cpuid[1]=00630f81 02040800 3e98320b 178bfbff +basic_cpuid[2]=00000000 00000000 00000000 00000000 +basic_cpuid[3]=00000000 00000000 00000000 00000000 +basic_cpuid[4]=00000000 00000000 00000000 00000000 +basic_cpuid[5]=00000040 00000040 00000003 00000000 +basic_cpuid[6]=00000000 00000000 00000001 00000000 +basic_cpuid[7]=00000000 00000009 00000000 00000000 +basic_cpuid[8]=00000000 00000000 00000000 00000000 +basic_cpuid[9]=00000000 00000000 00000000 00000000 +basic_cpuid[10]=00000000 00000000 00000000 00000000 +basic_cpuid[11]=00000000 00000000 00000000 00000000 +basic_cpuid[12]=00000000 00000000 00000000 00000000 +basic_cpuid[13]=00000007 00000340 000003c0 40000000 +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]=00000000 00000000 00000000 00000000 +basic_cpuid[19]=00000000 00000000 00000000 00000000 +basic_cpuid[20]=00000000 00000000 00000000 00000000 +basic_cpuid[21]=00000000 00000000 00000000 00000000 +basic_cpuid[22]=00000000 00000000 00000000 00000000 +basic_cpuid[23]=00000000 00000000 00000000 00000000 +basic_cpuid[24]=00000000 00000000 00000000 00000000 +basic_cpuid[25]=00000000 00000000 00000000 00000000 +basic_cpuid[26]=00000000 00000000 00000000 00000000 +basic_cpuid[27]=00000000 00000000 00000000 00000000 +basic_cpuid[28]=00000000 00000000 00000000 00000000 +basic_cpuid[29]=00000000 00000000 00000000 00000000 +basic_cpuid[30]=00000000 00000000 00000000 00000000 +basic_cpuid[31]=00000000 00000000 00000000 00000000 +ext_cpuid[0]=8000001e 68747541 444d4163 69746e65 +ext_cpuid[1]=00630f81 10000000 0febbfff 2fd3fbff +ext_cpuid[2]=20444d41 6c687441 74286e6f 5820296d +ext_cpuid[3]=37382034 51204b30 20646175 65726f43 +ext_cpuid[4]=6f725020 73736563 2020726f 00202020 +ext_cpuid[5]=ff40ff18 ff40ff30 10040140 60030140 +ext_cpuid[6]=64006400 64004200 08008140 00000000 +ext_cpuid[7]=00000000 00000001 00000000 000027d9 +ext_cpuid[8]=00003030 00000000 00004003 00000000 +ext_cpuid[9]=00000000 00000000 00000000 00000000 +ext_cpuid[10]=00000001 00010000 00000000 00001cff +ext_cpuid[11]=00000000 00000000 00000000 00000000 +ext_cpuid[12]=00000000 00000000 00000000 00000000 +ext_cpuid[13]=00000000 00000000 00000000 00000000 +ext_cpuid[14]=00000000 00000000 00000000 00000000 +ext_cpuid[15]=00000000 00000000 00000000 00000000 +ext_cpuid[16]=00000000 00000000 00000000 00000000 +ext_cpuid[17]=00000000 00000000 00000000 00000000 +ext_cpuid[18]=00000000 00000000 00000000 00000000 +ext_cpuid[19]=00000000 00000000 00000000 00000000 +ext_cpuid[20]=00000000 00000000 00000000 00000000 +ext_cpuid[21]=00000000 00000000 00000000 00000000 +ext_cpuid[22]=00000000 00000000 00000000 00000000 +ext_cpuid[23]=00000000 00000000 00000000 00000000 +ext_cpuid[24]=00000000 00000000 00000000 00000000 +ext_cpuid[25]=f040f018 64006400 00000000 00000000 +ext_cpuid[26]=00000003 00000000 00000000 00000000 +ext_cpuid[27]=000001ff 00000000 00000000 00000000 +ext_cpuid[28]=00000000 80032013 00010200 e000000f +ext_cpuid[29]=00000121 00c0003f 0000003f 00000000 +ext_cpuid[30]=00000012 00000101 00000000 00000000 +ext_cpuid[31]=00000000 00000000 00000000 00000000 +intel_fn4[0]=00000000 00000000 00000000 00000000 +intel_fn4[1]=00000000 00000000 00000000 00000000 +intel_fn4[2]=00000000 00000000 00000000 00000000 +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]=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 +amd_fn8000001dh[0]=00000121 00c0003f 0000003f 00000000 +amd_fn8000001dh[1]=00004122 0080003f 000001ff 00000000 +amd_fn8000001dh[2]=00004143 03c0003f 000007ff 00000001 +amd_fn8000001dh[3]=00000000 00000000 00000000 00000000 +-------------------------------------------------------------------------------- +15 +8 +1 +21 +56 +4 +4 +16 +96 +2048 +0 +-1 +4 +3 +16 +-1 +-1 +64 +64 +64 +-1 +-1 +128 (authoritative) +Godavari X4 +fpu vme de pse tsc msr pae mce cx8 apic mtrr sep pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht pni pclmul monitor ssse3 cx16 sse4_1 sse4_2 syscall popcnt aes xsave osxsave avx mmxext nx fxsr_opt rdtscp lm lahf_lm cmp_legacy svm abm misalignsse sse4a 3dnowprefetch osvw ibs skinit wdt ts ttp tm_amd 100mhzsteps hwpstate constant_tsc xop fma3 fma4 tbm f16c cpb aperfmperf bmi1