mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
added amd family 10 model detect
This commit is contained in:
parent
25b2d2edb9
commit
320011471d
12
inxi
12
inxi
|
@ -10825,14 +10825,18 @@ sub cp_cpu_arch {
|
||||||
$year = '';}
|
$year = '';}
|
||||||
}
|
}
|
||||||
elsif ($family eq '10'){
|
elsif ($family eq '10'){
|
||||||
if ($model =~ /^(2|4|5|6|8|9|A)$/){
|
if ($model =~ /^(6)$/){
|
||||||
|
$arch = 'K10'; # 6:2:Regor
|
||||||
|
$process = 'AMD 45nm';
|
||||||
|
$year = '2009-14';}
|
||||||
|
elsif ($model =~ /^(2|4|5|8|9|A)$/){
|
||||||
$arch = 'K10';
|
$arch = 'K10';
|
||||||
$process = 'AMD 32-65nm';
|
$process = 'AMD 32-65nm';
|
||||||
$year = '2007-12';}
|
$year = '2007-14';}
|
||||||
else {
|
else {
|
||||||
$arch = 'K10';
|
$arch = 'K10';
|
||||||
$process = 'AMD 32-65nm';
|
$process = 'AMD 32-65nm';
|
||||||
$year = '2007-12';}
|
$year = '2007-14';}
|
||||||
}
|
}
|
||||||
# very loose, all stepping 1: covers athlon x2, sempron, turion x2
|
# very loose, all stepping 1: covers athlon x2, sempron, turion x2
|
||||||
# years unclear, could be 2005 start, or 2008
|
# years unclear, could be 2005 start, or 2008
|
||||||
|
@ -11346,7 +11350,7 @@ sub cp_cpu_arch {
|
||||||
# elsif ($model =~ /^()$/){
|
# elsif ($model =~ /^()$/){
|
||||||
# $arch = 'Meteor Lake';
|
# $arch = 'Meteor Lake';
|
||||||
# $process = 'Intel 4';}
|
# $process = 'Intel 4';}
|
||||||
# Granite Rapids: INtel 3 (7nm)
|
# Granite Rapids: Intel 3 (7nm)
|
||||||
elsif ($model =~ /^(9E)$/){
|
elsif ($model =~ /^(9E)$/){
|
||||||
if ($stepping == 9){
|
if ($stepping == 9){
|
||||||
$arch = 'Kaby Lake';
|
$arch = 'Kaby Lake';
|
||||||
|
|
Loading…
Reference in a new issue