Last active
December 16, 2015 15:49
-
-
Save aktau/5458538 to your computer and use it in GitHub Desktop.
GCC check capabilities of platform and compare side-by-side:
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
# source: http://forums.gentoo.org/viewtopic-p-6242890.html | |
# diff --side-by-side <(gcc -Q --help=target -march=atom) <(gcc -Q --help=target -march=native) | |
# core2 and atom seem to be quite similar in capabilities, through probably | |
# not in tuning | |
-O2 \ | |
-march=core2 \ | |
-funswitch-loops \ | |
-ftree-vectorize \ | |
-fomit-frame-pointer \ | |
-mfpmath=sse |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment