comparison x86/dsputil_yasm.asm @ 10660:f0f34732208a libavcodec

fix a crash in ape decoding on x86_32 sse2
author lorenm
date Tue, 08 Dec 2009 21:24:01 +0000
parents bb14c1586891
children abb3b23bda35
comparison
equal deleted inserted replaced
10659:1f835b8a41c0 10660:f0f34732208a
129 paddd m2, m0 129 paddd m2, m0
130 movd eax, m2 130 movd eax, m2
131 RET 131 RET
132 132
133 ; int scalarproduct_and_madd_int16(int16_t *v1, int16_t *v2, int16_t *v3, int order, int mul) 133 ; int scalarproduct_and_madd_int16(int16_t *v1, int16_t *v2, int16_t *v3, int order, int mul)
134 cglobal scalarproduct_and_madd_int16_%1, 3,4,8, v1, v2, v3, order, mul 134 cglobal scalarproduct_and_madd_int16_%1, 4,4,8, v1, v2, v3, order, mul
135 shl orderq, 1 135 shl orderq, 1
136 movd m7, mulm 136 movd m7, mulm
137 %if mmsize == 16 137 %if mmsize == 16
138 pshuflw m7, m7, 0 138 pshuflw m7, m7, 0
139 punpcklqdq m7, m7 139 punpcklqdq m7, m7