Views:

Below are guidelines when upgrading:

For Linux, use the following script:

#!/bin/bash
function check_cpu_support_x86_64_v2() {
    flags=$(cat /proc/cpuinfo | grep flags | head -n 1 | cut -d: -f2)
    supports_v2='awk "/cx16/&&/lahf/&&/popcnt/&&/sse4_1/&&/sse4_2/&&/ssse3/&&/avx/ {found=1}END {exit !found}"'
    echo "$flags" | eval $supports_v2
    if [ $? -eq 0 ]; then
        echo "CPU supports upgrade to SG3.0"
    else
        echo "CPU doesn't support upgrade to SG3.0"
    fi
}
  
check_cpu_support_x86_64_v2

For Windows, download Coreinfo from Microsoft. Execute the Coreinfo.exe command to check if it outputs all of the following:

  • cx16
  • lahf
  • popcnt
  • sse4.1
  • sse4.2
  • ssse3
  • avx

Refer to the following example:

CoreInfo Sample