<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><DIV>>+movd m0, [r2]<BR>>+movd m1, [r3]<BR>>+pmovzxbw m2, m0<BR>>+pmovzxbw m3, m1<BR>>+<BR>>+movd m0, [r2 + r4]<BR>>+movd m1, [r3 + r5]<BR>>+pmovzxbw m4, m0<BR>>+pmovzxbw m5, m1<BR>>+<BR>>+movd m0, [r2 + 2 * r4]<BR>>+movd m1, [r3 + 2 * r5]<BR>>+pmovzxbw m6, m0<BR>>+pmovzxbw m7, m1<BR>>+<BR>>+psubw m2, m3<BR>>+psubw m4, m5<BR>>+psubw m6, m7<BR>>+<BR>>+lea r2, [r2 + 2 * r4]<BR>>+lea r3, [r3 + 2 * r5]<BR>>+<BR>>+movd m0, [r2 + r4]<BR>>+movd m1, [r3 + r5]<BR>>+pmovzxbw m3, m0<BR>>+pmovzxbw m5, m1<BR>>+<BR>>+psubw m3, m5<BR>>+<BR>>+movh [r0], m2<BR>>+movh [r0 + r1], m4<BR>>+movh [r0 + 2 * r1], m6<BR>>+<BR>>+lea r0, [r0 + 2 * r1]<BR>>+<BR>>+movh [r0 + r1], m3<BR>>+<BR>>+RET<BR></DIV>
<DIV>un-debugged example</DIV>
<DIV>movd m0, [r2]<BR>movd m1, [r3]<BR>movd m2, [r2 + r4]<BR>movd m3, [r3 + r5]<BR>punpckldq m0, m2</DIV>
<DIV>punpckldq m1, m3</DIV>
<DIV>pmovzxbw m0, m0</DIV>
<DIV>pmovzxbw m1, m1</DIV>
<DIV>psubw m0, m1</DIV>
<DIV>movlps [r0], m0</DIV>
<DIV>movhps [r0 + r1], m0</DIV>
<DIV> </DIV></div>