diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-11-22 21:08:38 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-11-22 21:08:38 +0100 |
commit | d3512a0e89262a3ab08f30bab6ff3b98ac4c6e01 (patch) | |
tree | 08659b49578863ad7f338c4b43e43119cddc2b6c /libavcodec | |
parent | ce6141259bb910aa7f580f55cf71e3c503f9a4fb (diff) | |
download | ffmpeg-d3512a0e89262a3ab08f30bab6ff3b98ac4c6e01.tar.gz |
avcodec/x86/lossless_audiodsp: fix fallback code for 32bit
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/x86/lossless_audiodsp.asm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/x86/lossless_audiodsp.asm b/libavcodec/x86/lossless_audiodsp.asm index cc5e5e5fac..39395fecca 100644 --- a/libavcodec/x86/lossless_audiodsp.asm +++ b/libavcodec/x86/lossless_audiodsp.asm @@ -28,7 +28,9 @@ SECTION_TEXT cglobal scalarproduct_and_madd_int16, 4,4,8, v1, v2, v3, order, mul %if mmsize == 16 test orderq, 8 - jnz scalarproduct_and_madd_int16_mmxext; + jnz scalarproduct_and_madd_int16_fallback +%else + scalarproduct_and_madd_int16_fallback %endif shl orderq, 1 movd m7, mulm @@ -122,7 +124,7 @@ align 16 INIT_XMM ssse3 cglobal scalarproduct_and_madd_int16, 4,5,10, v1, v2, v3, order, mul test orderq, 8 - jnz scalarproduct_and_madd_int16_mmxext; + jnz scalarproduct_and_madd_int16_fallback shl orderq, 1 movd m7, mulm pshuflw m7, m7, 0 |