diff options
author | James Almer <jamrial@gmail.com> | 2016-01-03 02:09:02 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-01-03 02:09:02 -0300 |
commit | 35b0c7efda525acb7054f40e934cd487c90139c3 (patch) | |
tree | b12b43abe5ac1e7ea6b7ea33c192393e962007fa /libavfilter/x86 | |
parent | 78129978f02f27d76ecaf2cd1a7bf7a47253fdab (diff) | |
download | ffmpeg-35b0c7efda525acb7054f40e934cd487c90139c3.tar.gz |
x86/vf_stereo3d: remove a few unnecessary movas
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter/x86')
-rw-r--r-- | libavfilter/x86/vf_stereo3d.asm | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/libavfilter/x86/vf_stereo3d.asm b/libavfilter/x86/vf_stereo3d.asm index 491579fea0..a057e495f1 100644 --- a/libavfilter/x86/vf_stereo3d.asm +++ b/libavfilter/x86/vf_stereo3d.asm @@ -132,10 +132,10 @@ cglobal anaglyph, 3, 6, 8, 2*9*mmsize, dst, lsrc, rsrc, dst_linesize, o, cnt xor cntd, cntd .loop: - movu m0, [lsrcq+cntq] - pshufb m1, m0, [ex_r] - pshufb m2, m0, [ex_g] - pshufb m3, m0, [ex_b] + movu m3, [lsrcq+cntq] + pshufb m1, m3, [ex_r] + pshufb m2, m3, [ex_g] + pshufb m3, [ex_b] movu m0, [rsrcq+cntq] pshufb m4, m0, [ex_r] pshufb m5, m0, [ex_g] @@ -152,10 +152,10 @@ cglobal anaglyph, 3, 6, 8, 2*9*mmsize, dst, lsrc, rsrc, dst_linesize, o, cnt paddd m1, m3 paddd m1, m5 - movu m0, [lsrcq+cntq] - pshufb m7, m0, [ex_r] - pshufb m2, m0, [ex_g] - pshufb m3, m0, [ex_b] + movu m3, [lsrcq+cntq] + pshufb m7, m3, [ex_r] + pshufb m2, m3, [ex_g] + pshufb m3, [ex_b] movu m0, [rsrcq+cntq] pshufb m4, m0, [ex_r] pshufb m5, m0, [ex_g] @@ -172,10 +172,10 @@ cglobal anaglyph, 3, 6, 8, 2*9*mmsize, dst, lsrc, rsrc, dst_linesize, o, cnt paddd m7, m3 paddd m7, m5 - movu m0, [lsrcq+cntq] - pshufb m2, m0, [ex_r] - pshufb m3, m0, [ex_g] - pshufb m4, m0, [ex_b] + movu m4, [lsrcq+cntq] + pshufb m2, m4, [ex_r] + pshufb m3, m4, [ex_g] + pshufb m4, [ex_b] movu m0, [rsrcq+cntq] pshufb m5, m0, [ex_r] pshufb m6, m0, [ex_g] |