diff options
author | ami_stuff <ami_stuff@o2.pl> | 2012-03-22 19:28:52 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-04-04 09:16:02 +0200 |
commit | cf9b04c6f23f4cd544641ebe0fd7371e3653835e (patch) | |
tree | 57da8eb964f004780d78c566133bf41e74da7841 | |
parent | 5667eaf010461bd973278f61f31a27e8ecf6a05e (diff) | |
download | ffmpeg-cf9b04c6f23f4cd544641ebe0fd7371e3653835e.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.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/dsputil_yasm.asm b/libavcodec/x86/dsputil_yasm.asm index dcd6fa4223..0f533241b1 100644 --- a/libavcodec/x86/dsputil_yasm.asm +++ b/libavcodec/x86/dsputil_yasm.asm @@ -475,7 +475,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 |