
24 Mar
2011
24 Mar
'11
8:41 p.m.
On 24/03/2011 19:21, Gruenke, Matt wrote:
MSVC defines _M_IX86_FP, to indicate whether /arch was specified, and whether for SSE or SSE2. Unfortunately, it does not (currently) go beyond SSE2.
One possibility would be to require the user to manually define a macro, when using such compilers.
Matt
Which I already said. It is also completely orthogonal; /arch is more like an equivalent of the -mfpmath GCC option. It does not control availability of instructions, but rather what instructions are generated for the floating point operations (as the name _M_IX86_FP clearly reflects)