Re: Combining two MMX registers into one SSE register?



Also possible should be:

MOVQ2DQ xmm0, mm0
MOVQ2DQ xmm1, mm1
MOVLHPS xmm0, xmm1

See
http://developer.intel.com/design/Pentium4/documentation.htm
Manuals.
Perhaps MOVLHPS is faster because why have the instruction otherwise?
Maarten.

"Rich Fife" <spamtrap@xxxxxxxxxx> wrote in message
news:1130348940.928946.130380@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Is there a way to combine two MMX registers into the low and high quad
> words of an SSE register without getting memory involved? MOVQ2DQ does
> a zero extend, unfortunately, or it would be easy.
>
> -- Rich Fife --
>


.