x86/vf_w3fdif: use aligned loads in w3fdif_complex_high
authorJames Almer <jamrial@gmail.com>
Tue, 27 Oct 2015 04:49:22 +0000 (01:49 -0300)
committerJames Almer <jamrial@gmail.com>
Tue, 27 Oct 2015 04:49:22 +0000 (01:49 -0300)
Found-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
libavfilter/x86/vf_w3fdif.asm

index fb33f41..c3c73ea 100644 (file)
@@ -216,10 +216,8 @@ cglobal w3fdif_complex_high, 5, 13, 10, 0, work_line, in_lines_cur0, in_lines_ad
     pmaddwd                                m9, m4
     paddd                                  m5, m8
     paddd                                  m6, m9
-    movu                                   m8, [work_lineq+offsetq*4]
-    movu                                   m9, [work_lineq+offsetq*4+mmsize]
-    paddd                                  m5, m8
-    paddd                                  m6, m9
+    paddd                                  m5, [work_lineq+offsetq*4]
+    paddd                                  m6, [work_lineq+offsetq*4+mmsize]
     mova               [work_lineq+offsetq*4], m5
     mova        [work_lineq+offsetq*4+mmsize], m6
     add                               offsetq, mmsize/2