This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Question on Tuning and Preprocessor Definitions
- From: Jeffrey Walton <noloader at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 24 May 2011 02:05:38 -0400
- Subject: Question on Tuning and Preprocessor Definitions
- Reply-to: noloader at gmail dot com
Hi All,
I just noticed __tune_core2__ from `cpp -dM < /dev/null` on a Mac.
Can we presume an mtune options [1] (ie, -mtune=XXX) have a
corresponding __tune_XXX__ preprocessor definition which GCC
recognizes?
Google is only showing a handful of hits (mostly patches) on GNU's site [2].
Jeff
[1] http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html
[2] http://www.google.com/#sclient=psy&source=hp&q=%22__tune_core2__%22+site:gcc.gnu.org