Re: Combining two MMX registers into one SSE register?




Rich Fife wrote:
> 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.


Two MOVQ2DQ's followed by either a SHUFPD or PSLLDQ/POR pair.

.