To transfer a 64 bit number in edx:eax to mm0


movd mm0, edx
movd mm1, eax
psllq mm0, 32
por mm0, mm1


or


movd mm0, eax
movd mm1, edx
punpckldq mm0, mm1


Is this useful?
Posted on 2003-05-10 23:03:47 by V Coder
The later is preferable, shifts don't pair on P1/2/3, iirc.
Posted on 2003-05-10 23:17:58 by bitRAKE
I wrote the former several months ago, before I joined the forum.

The latter I just derived from PD code from Eric Goldstein's...
Posted on 2003-05-10 23:33:50 by V Coder