Just include xmmintrin.h on MSVC as well
authorChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 9 Mar 2012 07:54:06 +0000 (15:54 +0800)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Thu, 15 Mar 2012 19:18:11 +0000 (15:18 -0400)
commit21eeecffa93ba5912487d88851b1a5c60fc37768
treefde9c5938be34ec641fe7123390d6779e25f2e4c
parent94aea2e868ae02235785f31b275f89b9661bca0e
Just include xmmintrin.h on MSVC as well

The xmmintrin.h as shipped with recent Visual C++ (2003+) provides
_mm_shuffle_pi16 and _mm_mulhi_pu16, so including that header
will do for using these functions, and MSVC does not like the GCC-specific
implementations of _mm_shuffle_pi16 and _mm_mulhi_pu16 that is
currently in the code.

_MM_SHUFFLE is declared in the same way in MSVC's xmmintrin.h, so don't
re-define it here to avoid a compilation warning.
pixman/pixman-mmx.c