3-417
INSTRUCTION SET REFERENCE
MOVHLPS High to Low Packed Single-FP
Description
The upper 64-bits of the source register xmm2 are loaded into the lower 64-bits of the 128-bit
register xmm1, and the upper 64-bits of xmm1 are left unchanged.
Figure 3-42. Operation of the MOVHLPS Instruction
Operation
DEST[127-64] = DEST[127-64];
DEST[63-0] = SRC[127-64];
Intel C/C++ Compiler Intrinsic Equivalent
__m128 _mm_movehl_ps(__m128 a, __m128 b)
Moves the upper 2 SP FP values of b to the lower 2 SP FP values of the result. The upper 2 SP
FP values of a are passed through to the result.
OpcodeInstruction
Description
OF,12,/rMOVHLPS xmm1,
xmm2
Move 64 bits representing higher two SP operands from xmm2 to
lower two fields of xmm1 register.
Xmm1
Xmm1
MOVHLPS xmm1, xmm2
Xmm2
=
=