Re: List of CPU architecture-specific macros?

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

 



On 2017-02-12 20:24 +0800, Liu Hao wrote:
> Hello,
> Do we have a complete list of CPU architecture-specific macros (e.g. 
> __SSE__, __FMA__ on x86)? The doc 
> (https://gcc.gnu.org/onlinedocs/cpp/System-specific-Predefined-Macros
> .html) 
> doesn't seem to mention it. Thanks.
> 
The documentation said:

    you can use cpp -dM to see them all.

Just invoke

    echo "" | cpp -dM

Then you can see all predefined macros.
-- 
Xi Ruoyao <ryxi@xxxxxxxxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University




[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