Last active
August 29, 2015 14:02
-
-
Save jepio/5dea3d4c69d7a72299b4 to your computer and use it in GitHub Desktop.
Check what flags are enabled by march=native.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gcc -### -march=native -x c++ - | |
# or | |
gcc -march=native -E -v - </dev/null 2>&1 | grep cc1 | |
# or better yet | |
gcc -march=native -Q --help=target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What you're looking for is the line that starts with
The important stuff is the march flag, and things in
(...)
that don't begin with mno.