On 2017/2/13 9:11, Xi Ruoyao wrote:
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.
Yes that is why I asked. I think relying on undocumented features is
evil, unless there is no other option.
--
Best regards,
LH_Mouse