From 812ed2e17bfe8e232313cf9ab78000a564cb6b3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Sandmann=20Pedersen?= Date: Fri, 12 Aug 2005 17:43:38 +0000 Subject: [PATCH] =?UTF-8?q?Fri=20Aug=2012=2010:45:01=202005=20S=1B%G=C3=AF?= =?UTF-8?q?=C2=BF=C2=BF=1B%@ren=20Sandmann=20=20Make?= =?UTF-8?q?=20this=20function=20compute=20the=20same=20results=20as=20the?= =?UTF-8?q?=20fbByteMul=20macro.?= 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(-) 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;