Skip to content

AnsgarKlein/x86-feature-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.