Skip to content

Instantly share code, notes, and snippets.

@porteusconf
Created September 7, 2020 17:56
Show Gist options
  • Save porteusconf/16266a53dd1df6abd02105361755665d to your computer and use it in GitHub Desktop.
Save porteusconf/16266a53dd1df6abd02105361755665d to your computer and use it in GitHub Desktop.
use gcc to find intel-or-amd cpu family name such as sandbridge
echo "https://unix.stackexchange.com/questions/230634/how-to-find-out-intel-architecture-family-from-command-line"
echo "Example: -march= sandybridge "
echo "gcc -march=native -Q --help=target|grep march"
gcc -march=native -Q --help=target|grep march
@porteusconf
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment