Commit d3512a0e authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/x86/lossless_audiodsp: fix fallback code for 32bit

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent ce614125
...@@ -28,7 +28,9 @@ SECTION_TEXT ...@@ -28,7 +28,9 @@ SECTION_TEXT
cglobal scalarproduct_and_madd_int16, 4,4,8, v1, v2, v3, order, mul cglobal scalarproduct_and_madd_int16, 4,4,8, v1, v2, v3, order, mul
%if mmsize == 16 %if mmsize == 16
test orderq, 8 test orderq, 8
jnz scalarproduct_and_madd_int16_mmxext; jnz scalarproduct_and_madd_int16_fallback
%else
scalarproduct_and_madd_int16_fallback
%endif %endif
shl orderq, 1 shl orderq, 1
movd m7, mulm movd m7, mulm
...@@ -122,7 +124,7 @@ align 16 ...@@ -122,7 +124,7 @@ align 16
INIT_XMM ssse3 INIT_XMM ssse3
cglobal scalarproduct_and_madd_int16, 4,5,10, v1, v2, v3, order, mul cglobal scalarproduct_and_madd_int16, 4,5,10, v1, v2, v3, order, mul
test orderq, 8 test orderq, 8
jnz scalarproduct_and_madd_int16_mmxext; jnz scalarproduct_and_madd_int16_fallback
shl orderq, 1 shl orderq, 1
movd m7, mulm movd m7, mulm
pshuflw m7, m7, 0 pshuflw m7, m7, 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment