[FFmpeg-cvslog] x86/svq1enc: use unaligned mov on SSE2

James Almer git at videolan.org
Sun Jul 6 20:32:51 CEST 2014


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sun Jul  6 13:14:32 2014 -0300| [195f7bd23de7c8d8e99d933df19d625de881daed] | committer: Michael Niedermayer

x86/svq1enc: use unaligned mov on SSE2

Might fix fate failures on some systems

Signed-off-by: James Almer <jamrial at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/x86/svq1enc.asm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/x86/svq1enc.asm b/libavcodec/x86/svq1enc.asm
index 24ee70f..5fb3361 100644
--- a/libavcodec/x86/svq1enc.asm
+++ b/libavcodec/x86/svq1enc.asm
@@ -29,7 +29,7 @@ cglobal ssd_int8_vs_int16, 3, 3, 3, pix1, pix2, size
 .loop
     sub       sizeq, 8
     movq      m1, [pix1q + sizeq]
-    mova      m2, [pix2q + sizeq*2]
+    movu      m2, [pix2q + sizeq*2]
 %if mmsize == 8
     movq      m3, [pix2q + sizeq*2 + mmsize]
     punpckhbw m4, m1



More information about the ffmpeg-cvslog mailing list