Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 415 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 415 Bytes

x86-feature-check

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.