<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><DIV>>+;-----------------------------------------------------------------------------<BR>>+; void pixel_sub_ps_c_%1x%2(pixel *dest, intptr_t destride, pixel *src0, pixel *src1, intptr_t srcstride0, intptr_t srcstride1);<BR>>+;-----------------------------------------------------------------------------<BR>>+%macro PIXELSUB_PS_W12_H4 2<BR>>+INIT_XMM sse4<BR>>+cglobal pixel_sub_ps_%1x%2, 6, 7, 8, dest, deststride, src0, src1, srcstride0, srcstride1<BR>>+<BR>>+add r1, r1<BR>>+mov r6d, %2/4<BR>>+<BR>>+.loop<BR>>+<BR>>+ movh m0, [r2]<BR>>+ movd m1, [r2 + 8]<BR>>+ movh m2, [r3]<BR>>+ movd m3, [r3 + 8]<BR>>+<BR>>+ movh m4, [r2 + r4]<BR>>+ movd m5, [r2 + r4 + 8]<BR>>+ movh m6, [r3 + r5]<BR>>+ movd m7, [r3 + r5 + 8]<BR>>+<BR>>+ punpckldq m1, m5<BR>>+ punpckldq m3, m7<BR>>+ pmovzxbw m0, m0<BR>>+ pmovzxbw m1, m1<BR>>+ pmovzxbw m2, m2<BR>>+ pmovzxbw m3, m3<BR>>+ pmovzxbw m4, m4<BR>>+ pmovzxbw m6, m6<BR></DIV>
<DIV>movu m0, [r2]<BR>movu m1, [r3]<BR>movu m2, [r2 + r4]<BR>movu m3, [r3 + r5]</DIV>
<DIV> </DIV>
<DIV>mova m4, m0<BR>mova m5, m1</DIV>
<DIV>punpckhdq m4, m2<BR>punpckhdq m5, m3</DIV>
<DIV> </DIV>
<DIV>pmovzxbw m0, m0<BR>pmovzxbw m1, m1<BR>pmovzxbw m2, m2<BR>pmovzxbw m3, m3</DIV>
<DIV> </DIV>
<DIV> </DIV></div>