Gabest wrote:
I'd like to know if there is a compiler definition set after this
compiler option, so I can adjust my code to use see/sse2 instructions
as well in those build configurations which have this option turned
on.
This is undocumented but...
_M_IX86_FP = null for "normal" builds
_M_IX86_FP = 1 for /arch:SSE
_M_IX86_FP = 2 for /arch:SSE2
Being undocumented, I'd expect that this macro could change meaning or
disappear in any later version. However, these values do hold for VC7.1 and
Whidbey.
-cd