This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Question on Tuning and Preprocessor Definitions


Jeffrey Walton <noloader@gmail.com> writes:

> 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?

For the x86 backend only, yes, you pretty much can.  The default is
-mtune=generic, and there is no __tune_XXX preprocessor macro for that.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]