cpu_features

Cross-platform C99 library to detect CPU features at runtime

brewmacoslinux
Try with needOr install directly
Source

About

Cross platform C99 library to get cpu features at runtime

Commands

cpu_features

Examples

Display all detected CPU features on the current system$ cpu_features
Get detailed CPU feature information in JSON format$ cpu_features --json
Check for specific CPU feature availability$ cpu_features | grep -i avx