mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
trying to update flags line and some cleanup
This commit is contained in:
parent
1c03a2daf8
commit
fd48d72de2
6
inxi
6
inxi
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
########################################################################
|
########################################################################
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### version: 1.0.82-b1
|
#### version: 1.0.83-b1
|
||||||
#### Date: 26 July 2009
|
#### Date: 26 July 2009
|
||||||
########################################################################
|
########################################################################
|
||||||
#### SPECIAL THANKS
|
#### SPECIAL THANKS
|
||||||
|
@ -3120,9 +3120,11 @@ process_cpu_flags()
|
||||||
ssel["sse"] = 1
|
ssel["sse"] = 1
|
||||||
ssel["sse2"] = 2
|
ssel["sse2"] = 2
|
||||||
ssel["pni"] = 3
|
ssel["pni"] = 3
|
||||||
|
ssel["sse4"] = 4
|
||||||
sses[1] = "sse"
|
sses[1] = "sse"
|
||||||
sses[2] = "sse2"
|
sses[2] = "sse2"
|
||||||
sses[3] = "sse3"
|
sses[3] = "sse3"
|
||||||
|
sses[4] = "sse4"
|
||||||
}
|
}
|
||||||
/^(nx|lm|svm|vmx)$/ {
|
/^(nx|lm|svm|vmx)$/ {
|
||||||
if (s) {
|
if (s) {
|
||||||
|
@ -3132,7 +3134,7 @@ process_cpu_flags()
|
||||||
s = $0
|
s = $0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/^(sse2?|pni)$/ {
|
/^(sse|sse2|sse4|pni)$/ {
|
||||||
if (ssel[$0] > sse) {
|
if (ssel[$0] > sse) {
|
||||||
sse = ssel[$0]
|
sse = ssel[$0]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue