x86-feature-check.py
checks /proc/cpuinfo
for CPU flags and outputs the maximum
x86-64 feature set
that is supported.
Possible valid values:
- x86-64
- x86-64-v2
- x86-64-v3
- x86-64-v4
This script relies on /proc/cpuinfo
and thus only works on Linux.
Because type annotations are used Python 3.5 or newer is required.