#macro MemCopySSE(src,dst):lab,finish;
USE(esi, edi)
lea (dst,edi);
lea (src,esi);
lab:
movdqa([esi],xmm0);
pxor( xmm1,xmm1);
pcmpeqb(xmm0,xmm1);
add (16,esi);
pmovmskb(xmm1,eax);
test(eax,eax);
jnz (finish);
movdqa(xmm0,[edi]);
add(16,edi);
jmp ( lab );
finish:
ENDUSE;
#endmacro