1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

x86/vf_w3fdif: use aligned loads in w3fdif_simple_high

Found-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2015-10-11 20:07:12 -03:00
parent e8903fbf8e
commit 224a529b44

View File

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