5525N/ACompiler specific. Can potentially send upstream with an ifdef Solaris
5253N/Astatement.
5253N/A
5525N/Adiff --git a/gfx/2d/FilterProcessingSIMD-inl.h b/gfx/2d/FilterProcessingSIMD-inl.h
5525N/A--- a/gfx/2d/FilterProcessingSIMD-inl.h
5525N/A+++ b/gfx/2d/FilterProcessingSIMD-inl.h
5253N/A@@ -490,7 +490,7 @@
5253N/A // int16_t rows_ra[8] == { rB, rG, rR, rA, aB, aG, aR, aA }.
5253N/A // int32_t bias[4] == { _B, _G, _R, _A }.
5253N/A
5253N/A- i32x4_t sum = bias;
5253N/A+ i32x4_t sum = (i32x4_t)bias;
5253N/A
5253N/A // int16_t bg[8] = { b, g, b, g, b, g, b, g };
5253N/A i16x8_t bg = simd::ShuffleHi16<1,0,1,0>(simd::ShuffleLo16<1,0,1,0>(p));
5525N/Adiff --git a/gfx/2d/SIMD.h b/gfx/2d/SIMD.h
5525N/A--- a/gfx/2d/SIMD.h
5525N/A+++ b/gfx/2d/SIMD.h
5253N/A@@ -10,8 +10,8 @@
5253N/A * Consumers of this file need to #define SIMD_COMPILE_SSE2 before including it
5253N/A * if they want access to the SSE2 functions.
5253N/A */
5253N/A-
5253N/A #ifdef SIMD_COMPILE_SSE2
5253N/A+#include <emmintrin.h>
5253N/A #include <xmmintrin.h>
5253N/A #endif
5253N/A