From 9d54568d5f93701313fdbb49c1ef9dc79fe5850c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Tupinamb=C3=A1?= Date: Wed, 16 Jul 2008 14:29:29 -0400 Subject: [PATCH] Fix SSE2 bug where x888 pixels were treated as 8888 --- pixman/pixman-sse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pixman/pixman-sse.c b/pixman/pixman-sse.c index f456dda..b1e41b9 100644 --- a/pixman/pixman-sse.c +++ b/pixman/pixman-sse.c @@ -2816,7 +2816,7 @@ fbCompositeSrc_x888xnx8888sse2 (pixman_op_t op, cachePrefetchNext ((__m128i*)dst); cachePrefetchNext ((__m128i*)src); - xmmSrc = load128Unaligned ((__m128i*)src); + xmmSrc = _mm_or_si128 (load128Unaligned ((__m128i*)src), Maskff000000); xmmDst = load128Aligned ((__m128i*)dst); unpack_128_2x128 (xmmSrc, &xmmSrcLo, &xmmSrcHi); -- 2.7.4