From f6b78638086beae9bcab672d4c9de1790be5a928 Mon Sep 17 00:00:00 2001 From: ami_stuff Date: Thu, 22 Mar 2012 19:28:52 +0100 Subject: [PATCH] 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. --- libavcodec/x86/dsputil_yasm.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/x86/dsputil_yasm.asm b/libavcodec/x86/dsputil_yasm.asm index 7ddc770a2e..9708e66d3a 100644 --- a/libavcodec/x86/dsputil_yasm.asm +++ b/libavcodec/x86/dsputil_yasm.asm @@ -473,7 +473,7 @@ cglobal scalarproduct_float_sse, 3,3,2, v1, v2, offset shufps xmm0, xmm0, 1 addss xmm0, xmm1 %if ARCH_X86_64 == 0 - movd r0m, xmm0 + movss r0m, xmm0 fld dword r0m %endif RET