summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorami_stuff <ami_stuff@o2.pl>2012-03-22 19:28:52 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2012-04-04 09:14:46 +0200
commit10848d08625274e665c0ae3ad054e16732daf23c (patch)
treeecb85994d16736a99ca5b0da7244fb55e64078a7
parentb6cc1c77fd7d6a037c0c0c848c3621c7b1ff33b6 (diff)
downloadffmpeg-10848d08625274e665c0ae3ad054e16732daf23c.tar.gz
Replace SSE2 instruction in scalarproduct_float_sse() by SSE equivalent.
Fixes an AAC decoding issue with the sample from ticket #213 on machines with SSE but without SSE2. Based on 89411a by Reimar. (cherry picked from commit f6b78638086beae9bcab672d4c9de1790be5a928)
-rw-r--r--libavcodec/x86/dsputil_yasm.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/dsputil_yasm.asm b/libavcodec/x86/dsputil_yasm.asm
index 695aba5ec3..a114153585 100644
--- a/libavcodec/x86/dsputil_yasm.asm
+++ b/libavcodec/x86/dsputil_yasm.asm
@@ -474,7 +474,7 @@ cglobal scalarproduct_float_sse, 3,3,2, v1, v2, offset
shufps xmm0, xmm0, 1
addss xmm0, xmm1
%ifndef ARCH_X86_64
- movd r0m, xmm0
+ movss r0m, xmm0
fld dword r0m
%endif
RET