x86/vf_w3fdif: use aligned loads in w3fdif_simple_high
authorJames Almer <jamrial@gmail.com>
Sun, 11 Oct 2015 23:07:12 +0000 (20:07 -0300)
committerJames Almer <jamrial@gmail.com>
Sun, 11 Oct 2015 23:07:12 +0000 (20:07 -0300)
Found-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
libavfilter/x86/vf_w3fdif.asm

index f2001a4..fb33f41 100644 (file)
@@ -143,10 +143,8 @@ cglobal w3fdif_simple_high, 5, 9, 8, 0, work_line, in_lines_cur0, in_lines_adj0,
     pmaddwd                                m6, m2
     paddd                                  m3, m5
     paddd                                  m4, m6
-    movu                                   m5, [work_lineq+offsetq*4]
-    movu                                   m6, [work_lineq+offsetq*4+mmsize]
-    paddd                                  m3, m5
-    paddd                                  m4, m6
+    paddd                                  m3, [work_lineq+offsetq*4]
+    paddd                                  m4, [work_lineq+offsetq*4+mmsize]
     mova               [work_lineq+offsetq*4], m3
     mova        [work_lineq+offsetq*4+mmsize], m4
     add                               offsetq, mmsize/2