Re: Combining two MMX registers into one SSE register?
- From: "Maarten Kronenburg" <spamtrap@xxxxxxxxxx>
- Date: Thu, 27 Oct 2005 17:55:28 +0000 (UTC)
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 --
>
.
- Follow-Ups:
- Re: Combining two MMX registers into one SSE register?
- From: Gerd Isenberg
- Re: Combining two MMX registers into one SSE register?
- References:
- Combining two MMX registers into one SSE register?
- From: Rich Fife
- Combining two MMX registers into one SSE register?
- Prev by Date: Re: Combining two MMX registers into one SSE register?
- Next by Date: Re: improve strlen
- Previous by thread: Re: Combining two MMX registers into one SSE register?
- Next by thread: Re: Combining two MMX registers into one SSE register?
- Index(es):