equal
deleted
inserted
replaced
1 May be compiler specific. Can potentially send upstream with an ifdef Solaris |
|
2 statement. |
|
3 Investigate whether the emmintrin.h part is necessary. |
|
4 |
|
5 --- comm-esr31/mozilla/gfx/2d/FilterProcessingSIMD-inl.h.orig 2015-06-04 17:42:52.586368339 -0700 |
|
6 +++ comm-esr31/mozilla/gfx/2d/FilterProcessingSIMD-inl.h 2015-06-04 17:42:52.594507633 -0700 |
|
7 @@ -490,7 +490,7 @@ |
|
8 // int16_t rows_ra[8] == { rB, rG, rR, rA, aB, aG, aR, aA }. |
|
9 // int32_t bias[4] == { _B, _G, _R, _A }. |
|
10 |
|
11 - i32x4_t sum = bias; |
|
12 + i32x4_t sum = (i32x4_t)bias; |
|
13 |
|
14 // int16_t bg[8] = { b, g, b, g, b, g, b, g }; |
|
15 i16x8_t bg = simd::ShuffleHi16<1,0,1,0>(simd::ShuffleLo16<1,0,1,0>(p)); |
|
16 --- comm-esr31/mozilla/gfx/2d/SIMD.h.orig 2015-06-04 17:42:52.591921342 -0700 |
|
17 +++ comm-esr31/mozilla/gfx/2d/SIMD.h 2015-06-04 17:42:52.594674555 -0700 |
|
18 @@ -10,8 +10,8 @@ |
|
19 * Consumers of this file need to #define SIMD_COMPILE_SSE2 before including it |
|
20 * if they want access to the SSE2 functions. |
|
21 */ |
|
22 - |
|
23 #ifdef SIMD_COMPILE_SSE2 |
|
24 +#include <emmintrin.h> |
|
25 #include <xmmintrin.h> |
|
26 #endif |
|
27 |
|