On Fri, Oct 31, 2014 at 4:12 AM, Jose Fonseca <jfons...@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. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev