diff --git a/inxi b/inxi index 07c4dfc..ed81294 100755 --- a/inxi +++ b/inxi @@ -1,7 +1,7 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 1.1.6 +#### version: 1.1.7 #### Date: August 2 2009 ######################################################################## #### SPECIAL THANKS @@ -3379,10 +3379,10 @@ process_cpu_flags() { eval $LOGFS local cpu_flags="$1" - + # nx = AMD stack protection extensions # lm = Intel 64bit extensions - # sse, sse2, pni = sse1,2,3 gfx extensions + # sse, sse2, pni = sse1,2,3,4,5 gfx extensions # svm = AMD pacifica virtualization extensions # vmx = Intel IVT (vanderpool) virtualization extensions cpu_flags=$( echo "$cpu_flags" | gawk ' @@ -3391,11 +3391,15 @@ process_cpu_flags() ssel["sse"] = 1 ssel["sse2"] = 2 ssel["pni"] = 3 - ssel["sse4"] = 4 + ssel["sse4a"] = 4 # 4a must precede 4 + ssel["sse4"] = 5 + ssel["sse5"] = 6 sses[1] = "sse" sses[2] = "sse2" sses[3] = "sse3" - sses[4] = "sse4" + sses[4] = "sse4a" + sses[5] = "sse4" + sses[6] = "sse5" } /^(nx|lm|svm|vmx)$/ { if (s) { @@ -3405,7 +3409,7 @@ process_cpu_flags() s = $0 } } - /^(sse|sse2|sse4|pni)$/ { + /^(sse|sse2|sse4a|sse4|sse5|pni)$/ { if (ssel[$0] > sse) { sse = ssel[$0] }