[FFmpeg-cvslog] Replace SSE2 instruction by SSE equivalent.

Reimar Döffinger git at videolan.org
Wed Mar 21 20:15:12 CET 2012


ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Wed Mar 21 20:12:51 2012 +0100| [89411ae699c87c46d156e82109dce9626963e6d7] | committer: Reimar Döffinger

Replace SSE2 instruction by SSE equivalent.

This is even potentially faster in this use-case.
Should fix AAC SBR decoding on machines with SSE but not
SSE2, fixing track issue #1041.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=89411ae699c87c46d156e82109dce9626963e6d7
---

 libavcodec/x86/sbrdsp.asm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/x86/sbrdsp.asm b/libavcodec/x86/sbrdsp.asm
index 31a1c8b..682531d 100644
--- a/libavcodec/x86/sbrdsp.asm
+++ b/libavcodec/x86/sbrdsp.asm
@@ -68,7 +68,7 @@ cglobal sbr_sum_square, 2, 3, 6
     shufps      m0, m0, 1
     addss       m0, m1
 %if ARCH_X86_64 == 0
-    movd        r0m,  m0
+    movss       r0m,  m0
     fld         dword r0m
 %endif
     RET



More information about the ffmpeg-cvslog mailing list