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

James Almer jamrial at gmail.com
Sun Jul 6 18:14:32 CEST 2014


Might fix fate failures on some systems

Signed-off-by: James Almer <jamrial at gmail.com>
---
Untested since i can't reproduce them.

 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
-- 
1.8.5.5



More information about the ffmpeg-devel mailing list