[Mesa-dev] [PATCH][RFC] mesa/main: Clamp rgba with streamed sse

Matt Turner mattst88 at gmail.com
Fri Oct 31 10:01:47 PDT 2014

On Fri, Oct 31, 2014 at 4:12 AM, Jose Fonseca <jfonseca at vmware.com> wrote:
> On 31/10/14 10:13, Juha-Pekka Heikkila wrote:
>>   defined(__SSE2__) && defined(__GNUC__)
> Instead of duplicate this expression everywhere lets create a
> "HAVE_SSE2_INTRIN" define.  Not only this expression is complex, it will
> become even more when we updated it for MSVC.

Isn't testing __SSE2__ sufficient? Does MSVC not do this?

clang/icc/gcc all implement this and all of the _mm_* intrinsics.

More information about the mesa-dev mailing list