Skip to content

Commit

Permalink
DB: add Intel Bay Trail-T
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTumultuousUnicornOfDarkness committed Oct 29, 2023
1 parent 95a5c1d commit bd22219
Show file tree
Hide file tree
Showing 3 changed files with 219 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libcpuid/recog_intel.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,9 @@ const struct match_entry_t cpudb_intel[] = {
{ 6, 15, -1, -1, 63, -1, -1, -1, NC, 0 , 0, "Haswell-E" },

/* Silvermont CPUs (2013, 22nm, low-power) */
{ 6, 7, -1, -1, 55, 4, -1, -1, NC, PENTIUM_ , 0, "Bay Trail-M (Pentium)" },
{ 6, 7, -1, -1, 55, 2, -1, -1, NC, CELERON_ , 0, "Bay Trail-M (Celeron)" },
{ 6, 7, -1, -1, 55, -1, -1, -1, NC, PENTIUM_ , 0, "Bay Trail-M (Pentium)" },
{ 6, 7, -1, -1, 55, -1, -1, -1, NC, CELERON_ , 0, "Bay Trail-M (Celeron)" },
{ 6, 7, -1, -1, 55, -1, -1, -1, NC, ATOM_ , 0, "Bay Trail-T (Atom)" },

/* Broadwell CPUs (5th gen, 14nm): */
{ 6, 7, -1, -1, 71, 4, -1, -1, NC, CORE_|_I_|_7 , 0, "Broadwell (Core i7)" },
Expand Down
83 changes: 83 additions & 0 deletions tests/intel/x86-atom/silvermont/bay-trail-t-atom-e3827.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
------[ CPUID Registers / Logical CPU #0 ]------
CPUID 00000000: 0000000B-756E6547-6C65746E-49656E69 [GenuineIntel]
CPUID 00000001: 00030679-00100800-43D8E3BF-BFEBFBFF
CPUID 00000002: 61B3A001-0000FFC2-00000000-00000000
CPUID 00000003: 00000000-00000000-00000000-00000000
CPUID 00000004: 1C000121-0140003F-0000003F-00000001 [SL 00] [L1D: 24 KB]
CPUID 00000004: 1C000122-01C0003F-0000003F-00000001 [SL 01] [L1I: 32 KB]
CPUID 00000004: 1C00C143-01C0003F-000003FF-00000001 [SL 02] [L2U: 512 KB]
CPUID 00000005: 00000040-00000040-00000003-03000020
CPUID 00000006: 00000005-00000002-00000009-00000000
CPUID 00000007: 00000000-00002282-00000000-0C000400 [SL 00]
CPUID 00000008: 00000000-00000000-00000000-00000000
CPUID 00000009: 00000000-00000000-00000000-00000000
CPUID 0000000A: 07280203-00000000-00000000-00004503
CPUID 0000000B: 00000001-00000001-00000100-00000000 [SL 00]
CPUID 0000000B: 00000004-00000002-00000201-00000000 [SL 01]
CPUID 80000000: 80000008-00000000-00000000-00000000
CPUID 80000001: 00000000-00000000-00000101-28100000
CPUID 80000002: 20202020-20202020-65746E49-2952286C [ Intel(R)]
CPUID 80000003: 6F744120-4D54286D-50432029-45202055 [ Atom(TM) CPU E]
CPUID 80000004: 37323833-20402020-34372E31-007A4847 [3827 @ 1.74GHz]
CPUID 80000005: 00000000-00000000-00000000-00000000 [L1D: 0 KB / L1I: 0 KB]
CPUID 80000006: 00000000-00000000-02006040-00000000 [L2: 512 KB] / L3: 0 KB]
CPUID 80000007: 00000000-00000000-00000000-00000100
CPUID 80000008: 00003024-00000000-00000000-00000000
------[ CPUID Registers / Logical CPU #1 ]------
CPUID 00000000: 0000000B-756E6547-6C65746E-49656E69 [GenuineIntel]
CPUID 00000001: 00030679-04100800-43D8E3BF-BFEBFBFF
CPUID 00000002: 61B3A001-0000FFC2-00000000-00000000
CPUID 00000003: 00000000-00000000-00000000-00000000
CPUID 00000004: 1C000121-0140003F-0000003F-00000001 [SL 00] [L1D: 24 KB]
CPUID 00000004: 1C000122-01C0003F-0000003F-00000001 [SL 01] [L1I: 32 KB]
CPUID 00000004: 1C00C143-01C0003F-000003FF-00000001 [SL 02] [L2U: 512 KB]
CPUID 00000005: 00000040-00000040-00000003-03000020
CPUID 00000006: 00000005-00000002-00000009-00000000
CPUID 00000007: 00000000-00002282-00000000-0C000400 [SL 00]
CPUID 00000008: 00000000-00000000-00000000-00000000
CPUID 00000009: 00000000-00000000-00000000-00000000
CPUID 0000000A: 07280203-00000000-00000000-00004503
CPUID 0000000B: 00000001-00000001-00000100-00000004 [SL 00]
CPUID 0000000B: 00000004-00000002-00000201-00000004 [SL 01]
CPUID 80000000: 80000008-00000000-00000000-00000000
CPUID 80000001: 00000000-00000000-00000101-28100000
CPUID 80000002: 20202020-20202020-65746E49-2952286C [ Intel(R)]
CPUID 80000003: 6F744120-4D54286D-50432029-45202055 [ Atom(TM) CPU E]
CPUID 80000004: 37323833-20402020-34372E31-007A4847 [3827 @ 1.74GHz]
CPUID 80000005: 00000000-00000000-00000000-00000000 [L1D: 0 KB / L1I: 0 KB]
CPUID 80000006: 00000000-00000000-02006040-00000000 [L2: 512 KB] / L3: 0 KB]
CPUID 80000007: 00000000-00000000-00000000-00000100
CPUID 80000008: 00003024-00000000-00000000-00000000
--------------------------------------------------------------------------------
x86
general
6
7
9
6
55
2
2
24
32
512
-1
-1
6
8
8
-1
-1
64
64
64
-1
-1
2
2
2
0
0
128 (non-authoritative)
Bay Trail-T (Atom)
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 movbe popcnt aes rdtscp lm lahf_lm constant_tsc rdrand
133 changes: 133 additions & 0 deletions tests/intel/x86-atom/silvermont/bay-trail-t-atom-z3740.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
------[ CPUID Registers / Logical CPU #0 ]------
CPUID 00000000: 0000000B-756E6547-6C65746E-49656E69
CPUID 00000001: 00030673-00100800-43D8E3BF-BFEBFBFF
CPUID 00000002: 61B3A001-0000FFC2-00000000-00000000
CPUID 00000003: 00000000-00000000-00000000-00000000
CPUID 00000004: 1C000121-0140003F-0000003F-00000001
CPUID 00000004: 1C000122-01C0003F-0000003F-00000001
CPUID 00000004: 1C00C143-03C0003F-000003FF-00000001
CPUID 00000005: 00000040-00000040-00000003-33000020
CPUID 00000006: 00000007-00000002-00000009-00000000
CPUID 00000007: 00000000-00002282-00000000-00000000
CPUID 00000008: 00000000-00000000-00000000-00000000
CPUID 00000009: 00000000-00000000-00000000-00000000
CPUID 0000000A: 07280203-00000000-00000000-00004503
CPUID 0000000B: 00000001-00000001-00000100-00000000
CPUID 0000000B: 00000004-00000004-00000201-00000000
CPUID 80000000: 80000008-00000000-00000000-00000000
CPUID 80000001: 00000000-00000000-00000101-28100000
CPUID 80000002: 20202020-20202020-65746E49-2952286C
CPUID 80000003: 6F744120-4D54286D-50432029-5A202055
CPUID 80000004: 30343733-20402020-33332E31-007A4847
CPUID 80000005: 00000000-00000000-00000000-00000000
CPUID 80000006: 00000000-00000000-04008040-00000000
CPUID 80000007: 00000000-00000000-00000000-00000100
CPUID 80000008: 00003024-00000000-00000000-00000000
------[ CPUID Registers / Logical CPU #1 ]------
CPUID 00000000: 0000000B-756E6547-6C65746E-49656E69
CPUID 00000001: 00030673-02100800-43D8E3BF-BFEBFBFF
CPUID 00000002: 61B3A001-0000FFC2-00000000-00000000
CPUID 00000003: 00000000-00000000-00000000-00000000
CPUID 00000004: 1C000121-0140003F-0000003F-00000001
CPUID 00000004: 1C000122-01C0003F-0000003F-00000001
CPUID 00000004: 1C00C143-03C0003F-000003FF-00000001
CPUID 00000005: 00000040-00000040-00000003-33000020
CPUID 00000006: 00000007-00000002-00000009-00000000
CPUID 00000007: 00000000-00002282-00000000-00000000
CPUID 00000008: 00000000-00000000-00000000-00000000
CPUID 00000009: 00000000-00000000-00000000-00000000
CPUID 0000000A: 07280203-00000000-00000000-00004503
CPUID 0000000B: 00000001-00000001-00000100-00000002
CPUID 0000000B: 00000004-00000004-00000201-00000002
CPUID 80000000: 80000008-00000000-00000000-00000000
CPUID 80000001: 00000000-00000000-00000101-28100000
CPUID 80000002: 20202020-20202020-65746E49-2952286C
CPUID 80000003: 6F744120-4D54286D-50432029-5A202055
CPUID 80000004: 30343733-20402020-33332E31-007A4847
CPUID 80000005: 00000000-00000000-00000000-00000000
CPUID 80000006: 00000000-00000000-04008040-00000000
CPUID 80000007: 00000000-00000000-00000000-00000100
CPUID 80000008: 00003024-00000000-00000000-00000000
------[ CPUID Registers / Logical CPU #2 ]------
CPUID 00000000: 0000000B-756E6547-6C65746E-49656E69
CPUID 00000001: 00030673-04100800-43D8E3BF-BFEBFBFF
CPUID 00000002: 61B3A001-0000FFC2-00000000-00000000
CPUID 00000003: 00000000-00000000-00000000-00000000
CPUID 00000004: 1C000121-0140003F-0000003F-00000001
CPUID 00000004: 1C000122-01C0003F-0000003F-00000001
CPUID 00000004: 1C00C143-03C0003F-000003FF-00000001
CPUID 00000005: 00000040-00000040-00000003-33000020
CPUID 00000006: 00000007-00000002-00000009-00000000
CPUID 00000007: 00000000-00002282-00000000-00000000
CPUID 00000008: 00000000-00000000-00000000-00000000
CPUID 00000009: 00000000-00000000-00000000-00000000
CPUID 0000000A: 07280203-00000000-00000000-00004503
CPUID 0000000B: 00000001-00000001-00000100-00000004
CPUID 0000000B: 00000004-00000004-00000201-00000004
CPUID 80000000: 80000008-00000000-00000000-00000000
CPUID 80000001: 00000000-00000000-00000101-28100000
CPUID 80000002: 20202020-20202020-65746E49-2952286C
CPUID 80000003: 6F744120-4D54286D-50432029-5A202055
CPUID 80000004: 30343733-20402020-33332E31-007A4847
CPUID 80000005: 00000000-00000000-00000000-00000000
CPUID 80000006: 00000000-00000000-04008040-00000000
CPUID 80000007: 00000000-00000000-00000000-00000100
CPUID 80000008: 00003024-00000000-00000000-00000000
------[ CPUID Registers / Logical CPU #3 ]------
CPUID 00000000: 0000000B-756E6547-6C65746E-49656E69
CPUID 00000001: 00030673-06100800-43D8E3BF-BFEBFBFF
CPUID 00000002: 61B3A001-0000FFC2-00000000-00000000
CPUID 00000003: 00000000-00000000-00000000-00000000
CPUID 00000004: 1C000121-0140003F-0000003F-00000001
CPUID 00000004: 1C000122-01C0003F-0000003F-00000001
CPUID 00000004: 1C00C143-03C0003F-000003FF-00000001
CPUID 00000005: 00000040-00000040-00000003-33000020
CPUID 00000006: 00000007-00000002-00000009-00000000
CPUID 00000007: 00000000-00002282-00000000-00000000
CPUID 00000008: 00000000-00000000-00000000-00000000
CPUID 00000009: 00000000-00000000-00000000-00000000
CPUID 0000000A: 07280203-00000000-00000000-00004503
CPUID 0000000B: 00000001-00000001-00000100-00000006
CPUID 0000000B: 00000004-00000004-00000201-00000006
CPUID 80000000: 80000008-00000000-00000000-00000000
CPUID 80000001: 00000000-00000000-00000101-28100000
CPUID 80000002: 20202020-20202020-65746E49-2952286C
CPUID 80000003: 6F744120-4D54286D-50432029-5A202055
CPUID 80000004: 30343733-20402020-33332E31-007A4847
CPUID 80000005: 00000000-00000000-00000000-00000000
CPUID 80000006: 00000000-00000000-04008040-00000000
CPUID 80000007: 00000000-00000000-00000000-00000100
CPUID 80000008: 00003024-00000000-00000000-00000000
--------------------------------------------------------------------------------
x86
general
6
7
3
6
55
2
4
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
128 (non-authoritative)
Bay Trail-T (Atom)
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 movbe popcnt aes rdtscp lm lahf_lm constant_tsc rdrand

0 comments on commit bd22219

Please sign in to comment.