Re: Question on Tuning and Preprocessor Definitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jeffrey Walton <noloader@xxxxxxxxx> 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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux