diff options
author | Søren Sandmann Pedersen <sandmann@daimi.au.dk> | 2005-08-12 17:43:38 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <sandmann@daimi.au.dk> | 2005-08-12 17:43:38 +0000 |
commit | 812ed2e17bfe8e232313cf9ab78000a564cb6b3c (patch) | |
tree | a31ca11d3b2d1031f16e35bae905ebb95365a512 | |
parent | 370b111f4882a95248bcc4727438c95a065c174d (diff) |
Fri Aug 12 10:45:01 2005 S%Gï¿¿%@ren Sandmann <sandmann@redhat.com>
Make this function compute the same results as the fbByteMul macro.
-rw-r--r-- | fb/fbmmx.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |