mirror of
https://github.com/anrieff/libcpuid
synced 2025-10-03 11:01:30 +00:00
DB: add Intel Bay Trail-D
Dump found on instlatx64: http://users.atw.hu/instlatx64/GenuineIntel/GenuineIntel0030673_Silvermont3_CPUID.txt
This commit is contained in:
parent
bd22219133
commit
f483697764
3 changed files with 148 additions and 2 deletions
|
@ -143,6 +143,8 @@ enum _intel_bits_t {
|
|||
_GOLD_ = LBIT( 23 ),
|
||||
_PLATINIUM_ = LBIT( 24 ),
|
||||
_MAX_ = LBIT( 25 ),
|
||||
_J_ = LBIT( 26 ),
|
||||
_N_ = LBIT( 27 ),
|
||||
};
|
||||
typedef enum _intel_bits_t intel_bits_t;
|
||||
|
||||
|
|
|
@ -320,8 +320,10 @@ 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, -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, PENTIUM_|_J_ , 0, "Bay Trail-D (Pentium)" },
|
||||
{ 6, 7, -1, -1, 55, -1, -1, -1, NC, CELERON_|_J_ , 0, "Bay Trail-D (Celeron)" },
|
||||
{ 6, 7, -1, -1, 55, -1, -1, -1, NC, PENTIUM_|_N_ , 0, "Bay Trail-M (Pentium)" },
|
||||
{ 6, 7, -1, -1, 55, -1, -1, -1, NC, CELERON_|_N_ , 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): */
|
||||
|
@ -805,6 +807,15 @@ static intel_code_and_bits_t get_brand_code_and_bits(struct cpu_id_t* data)
|
|||
case 'W': bits |= _W_; break;
|
||||
}
|
||||
}
|
||||
|
||||
if (((bits & PENTIUM_) || (bits & CELERON_)) && ((i = match_pattern(bs, "[JN]")) != 0)) {
|
||||
i--;
|
||||
switch (bs[i]) {
|
||||
case 'J': bits |= _J_; break;
|
||||
case 'N': bits |= _N_; break;
|
||||
}
|
||||
}
|
||||
|
||||
for (i = 0; i < COUNT_OF(matchtable); i++)
|
||||
if (match_pattern(bs, matchtable[i].search)) {
|
||||
code = matchtable[i].c;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue