Commit 35b0c7ef authored by James Almer's avatar James Almer

x86/vf_stereo3d: remove a few unnecessary movas

Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 78129978
...@@ -132,10 +132,10 @@ cglobal anaglyph, 3, 6, 8, 2*9*mmsize, dst, lsrc, rsrc, dst_linesize, o, cnt ...@@ -132,10 +132,10 @@ cglobal anaglyph, 3, 6, 8, 2*9*mmsize, dst, lsrc, rsrc, dst_linesize, o, cnt
xor cntd, cntd xor cntd, cntd
.loop: .loop:
movu m0, [lsrcq+cntq] movu m3, [lsrcq+cntq]
pshufb m1, m0, [ex_r] pshufb m1, m3, [ex_r]
pshufb m2, m0, [ex_g] pshufb m2, m3, [ex_g]
pshufb m3, m0, [ex_b] pshufb m3, [ex_b]
movu m0, [rsrcq+cntq] movu m0, [rsrcq+cntq]
pshufb m4, m0, [ex_r] pshufb m4, m0, [ex_r]
pshufb m5, m0, [ex_g] pshufb m5, m0, [ex_g]
...@@ -152,10 +152,10 @@ cglobal anaglyph, 3, 6, 8, 2*9*mmsize, dst, lsrc, rsrc, dst_linesize, o, cnt ...@@ -152,10 +152,10 @@ cglobal anaglyph, 3, 6, 8, 2*9*mmsize, dst, lsrc, rsrc, dst_linesize, o, cnt
paddd m1, m3 paddd m1, m3
paddd m1, m5 paddd m1, m5
movu m0, [lsrcq+cntq] movu m3, [lsrcq+cntq]
pshufb m7, m0, [ex_r] pshufb m7, m3, [ex_r]
pshufb m2, m0, [ex_g] pshufb m2, m3, [ex_g]
pshufb m3, m0, [ex_b] pshufb m3, [ex_b]
movu m0, [rsrcq+cntq] movu m0, [rsrcq+cntq]
pshufb m4, m0, [ex_r] pshufb m4, m0, [ex_r]
pshufb m5, m0, [ex_g] pshufb m5, m0, [ex_g]
...@@ -172,10 +172,10 @@ cglobal anaglyph, 3, 6, 8, 2*9*mmsize, dst, lsrc, rsrc, dst_linesize, o, cnt ...@@ -172,10 +172,10 @@ cglobal anaglyph, 3, 6, 8, 2*9*mmsize, dst, lsrc, rsrc, dst_linesize, o, cnt
paddd m7, m3 paddd m7, m3
paddd m7, m5 paddd m7, m5
movu m0, [lsrcq+cntq] movu m4, [lsrcq+cntq]
pshufb m2, m0, [ex_r] pshufb m2, m4, [ex_r]
pshufb m3, m0, [ex_g] pshufb m3, m4, [ex_g]
pshufb m4, m0, [ex_b] pshufb m4, [ex_b]
movu m0, [rsrcq+cntq] movu m0, [rsrcq+cntq]
pshufb m5, m0, [ex_r] pshufb m5, m0, [ex_r]
pshufb m6, m0, [ex_g] pshufb m6, m0, [ex_g]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment