aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-09-20 08:15:55 +0200
committermarha <marha@users.sourceforge.net>2013-09-20 08:15:55 +0200
commitd7c7138ea6282e01e3ea6ccd420305c8021bee52 (patch)
tree070b65d1c6bc277725e8e2e4798d9f53333bd45e
parent20585d7b6e9b96640b7a88b458080ff8902b25c5 (diff)
downloadvcxsrv-d7c7138ea6282e01e3ea6ccd420305c8021bee52.tar.gz
vcxsrv-d7c7138ea6282e01e3ea6ccd420305c8021bee52.tar.bz2
vcxsrv-d7c7138ea6282e01e3ea6ccd420305c8021bee52.zip
Solved 32-bit compilation problem
-rw-r--r--pixman/pixman/pixman-mmx.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/pixman/pixman/pixman-mmx.c b/pixman/pixman/pixman-mmx.c
index 1dc2eea5a..b62bc60b7 100644
--- a/pixman/pixman/pixman-mmx.c
+++ b/pixman/pixman/pixman-mmx.c
@@ -3579,14 +3579,15 @@ do { \
__m64 b_lo = _mm_mullo_pi16 (_mm_unpacklo_pi8 (b, mm_zero), mm_wb); \
__m64 hi = _mm_add_pi16 (t_hi, b_hi); \
__m64 lo = _mm_add_pi16 (t_lo, b_lo); \
+ __m64 mm_wh,p,q;\
vx += unit_x; \
/* calculate horizontal weights */ \
- __m64 mm_wh = _mm_add_pi16 (mm_addc7, _mm_xor_si64 (mm_xorc7, \
+ mm_wh = _mm_add_pi16 (mm_addc7, _mm_xor_si64 (mm_xorc7, \
_mm_srli_pi16 (mm_x, \
16 - BILINEAR_INTERPOLATION_BITS))); \
/* horizontal interpolation */ \
- __m64 p = _mm_unpacklo_pi16 (lo, hi); \
- __m64 q = _mm_unpackhi_pi16 (lo, hi); \
+ p = _mm_unpacklo_pi16 (lo, hi); \
+ q = _mm_unpackhi_pi16 (lo, hi); \
lo = _mm_madd_pi16 (p, mm_wh); \
hi = _mm_madd_pi16 (q, mm_wh); \
mm_x = _mm_add_pi16 (mm_x, mm_ux); \