$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [GSoC] SIMD proposal
From: Gruenke, Matt (mgruenke_at_[hidden])
Date: 2011-03-24 14:21:47
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.
Source: http://msdn.microsoft.com/en-us/library/b0084kay.aspx <http://msdn.microsoft.com/en-us/library/b0084kay.aspx>
One possibility would be to require the user to manually define a macro, when using such compilers.
Matt
________________________________
From: boost-bounces_at_[hidden] on behalf of Mathias Gaunard
Sent: Thu 3/24/2011 8:07 AM
To: boost_at_[hidden]
Subject: Re: [boost] [GSoC] SIMD proposal
[snip]
> On MSVC, SSE built-ins are always available but may result in a runtime
> error. There are only the /arch:SSE and /arch:AVX option used to tell
> the compiler that it can generate SSE or AVX instructions automatically,
> there are no /arch:SSEx options.
>
> Therefore there is no way to do the kind of thing you suggest with MSVC.