From 812ed2e17bfe8e232313cf9ab78000a564cb6b3c Mon Sep 17 00:00:00 2001 From: Søren Sandmann Pedersen Date: Fri, 12 Aug 2005 17:43:38 +0000 Subject: Fri Aug 12 10:45:01 2005 S%Gï¿¿%@ren Sandmann Make this function compute the same results as the fbByteMul macro. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fb/fbmmx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fb') diff --git a/fb/fbmmx.c b/fb/fbmmx.c index ba649393f..a0a7656e2 100644 --- a/fb/fbmmx.c +++ b/fb/fbmmx.c @@ -146,8 +146,8 @@ pix_multiply (__m64 a, __m64 b) __m64 res; res = _mm_mullo_pi16 (a, b); - res = _mm_adds_pu16 (res, _mm_srli_pi16 (res, 8)); res = _mm_adds_pu16 (res, MC(4x0080)); + res = _mm_adds_pu16 (res, _mm_srli_pi16 (res, 8)); res = _mm_srli_pi16 (res, 8); return res; -- cgit v1.2.3