mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
Added cpu arch ids for k6, k7
This commit is contained in:
parent
320011471d
commit
a5e8e3eec7
56
inxi
56
inxi
|
@ -10774,49 +10774,59 @@ sub cp_cpu_arch {
|
||||||
$year = '';} # dates uncertain, 1999 start
|
$year = '';} # dates uncertain, 1999 start
|
||||||
}
|
}
|
||||||
elsif ($family eq '6'){
|
elsif ($family eq '6'){
|
||||||
if ($model =~ /^(1|2)$/){
|
## verified
|
||||||
$arch = 'K7 Athlon Classic';
|
if ($model =~ /^(6)$/){
|
||||||
|
$arch = 'K7'; # 6:2:Palomino, duron
|
||||||
|
$process = 'AMD 180nm';
|
||||||
|
$year = '2002-04';}
|
||||||
|
elsif ($model =~ /^(8)$/){
|
||||||
|
$arch = 'K7'; # 8:1:thoroughbred, duron
|
||||||
|
$process = 'AMD 130nm';
|
||||||
|
$year = '2002-04';}
|
||||||
|
## to confirm
|
||||||
|
elsif ($model =~ /^(1|2)$/){
|
||||||
|
$arch = 'K7'; # Athlon Classic
|
||||||
$process = 'AMD 180-250nm';
|
$process = 'AMD 180-250nm';
|
||||||
$year = '1999-2002';}
|
$year = '1999-2002';}
|
||||||
elsif ($model =~ /^(3|4)$/){
|
elsif ($model =~ /^(3|4)$/){
|
||||||
$arch = 'K7 Thunderbird';
|
$arch = 'K7'; # Thunderbird
|
||||||
$process = 'AMD 180nm';
|
$process = 'AMD 180nm';
|
||||||
$year = '2000-01';}
|
$year = '2000-01';}
|
||||||
elsif ($model =~ /^(6|7|8|A)$/){
|
elsif ($model =~ /^(7|A)$/){
|
||||||
$arch = 'K7 Palomino+'; # athlon xp
|
$arch = 'K7'; # Palomino+; athlon xp
|
||||||
$process = 'AMD 130-180nm';
|
$process = 'AMD 130-180nm';
|
||||||
$year = '2001';}
|
$year = '2001-04';}
|
||||||
else {
|
else {
|
||||||
$arch = 'K7';
|
$arch = 'K7';
|
||||||
$process = 'AMD 130-250nm';
|
$process = 'AMD 130-250nm';
|
||||||
$year = '';}
|
$year = '2001-04';}
|
||||||
}
|
}
|
||||||
# note: family F K8 needs granular breakdowns, was a long lived family
|
# note: family F K8 needs granular breakdowns, was a long lived family
|
||||||
elsif ($family eq 'F'){
|
elsif ($family eq 'F'){
|
||||||
# positive IDs, but sub arch difficult, can be stepping based
|
# positive IDs, but sub arch difficult, stepping based
|
||||||
if ($model =~ /^(7)$/){
|
if ($model =~ /^(7|C)$/){
|
||||||
$arch = 'K8'; # 7:A:clawhammer ADA3500DEP4AS
|
$arch = 'K8'; # 7:A:clawhammer ADA3500DEP4AS; C:0:NewCastle
|
||||||
$process = 'AMD 130nm';
|
$process = 'AMD 130nm';
|
||||||
$year = '2004';} # cpuworld says 2004, but body says 2001
|
$year = '2004-05';}
|
||||||
elsif ($model =~ /^(1C|2F)$/){
|
elsif ($model =~ /^(1C|23|28|2F)$/){
|
||||||
$arch = 'K8'; # 1C:Palermo;2F:A:Venice
|
$arch = 'K8'; # 1C:Palermo;2F:A:Venice; 28:1:Manchester; 23:2:Toledo
|
||||||
$process = 'AMD 90nm';
|
$process = 'AMD 90nm';
|
||||||
$year = '2001';}
|
$year = '2004-06';}
|
||||||
elsif ($model =~ /^(7F)$/){
|
elsif ($model =~ /^(6B|7F)$/){
|
||||||
$arch = 'K8 rev.F+'; # Lima
|
$arch = 'K8'; # Lima; 68:1:Brisbane
|
||||||
$process = 'AMD 65nm';
|
$process = 'AMD 65nm';
|
||||||
$year = '2005';}
|
$year = '2005-06';}
|
||||||
# generic IDs, try to reduce these to solid over time
|
## to confirm
|
||||||
elsif ($model =~ /^(4|5|8|B|C|E|F|14|15|17|18|1B|1F)$/){
|
elsif ($model =~ /^(4|5|8|B|E|F|14|15|17|18|1B|1F)$/){
|
||||||
$arch = 'K8';
|
$arch = 'K8';
|
||||||
$process = 'AMD 65-130nm';
|
$process = 'AMD 65-130nm';
|
||||||
$year = '';}
|
$year = '';}
|
||||||
elsif ($model =~ /^(21|23|24|25|27|28|2C)$/){
|
elsif ($model =~ /^(21|24|25|27|2C)$/){
|
||||||
$arch = 'K8 rev.E';
|
$arch = 'K8'; # rev.E
|
||||||
$process = 'AMD 65-130nm';
|
$process = 'AMD 65-130nm';
|
||||||
$year = '';}
|
$year = '';}
|
||||||
elsif ($model =~ /^(41|43|48|4B|4C|4F|5D|5F|68|6B|6C|6F|7C|C1)$/){
|
elsif ($model =~ /^(41|43|48|4B|4C|4F|5D|5F|68|6C|6F|7C|C1)$/){
|
||||||
$arch = 'K8 rev.F+';
|
$arch = 'K8'; # rev.F+
|
||||||
$process = 'AMD 65-130nm';
|
$process = 'AMD 65-130nm';
|
||||||
$year = '';}
|
$year = '';}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue