CVTPI2PD
Usage: CVTPI2PD dest,src Modifies flags: None
Converts two packed signed doubleword integers in the source operand to two packed double-precision floating-point values in the destination operand.
Packed Signed INT32 to Packed Double-Precision FP Conversion
CVTPI2PD xmm,mm/mem64 ; 66 0F 2A /r [WILLAMETTE,SSE2]
CVTPI2PD converts two packed signed doublewords from the source operand to two packed double-precision FP values in the destination operand.
The destination operand is an XMM register. The source can be either an MMX register or a 64-bit memory location.
This instruction causes a transition from x87 FPU to MMX technology operation (that is, the x87 FPU top-of-stack pointer is set to 0 and the x87 FPU tag word is set to all 0s [valid]). If this instruction is executed while an x87 FPU floating-point exception is pending, the exception is handled before the CVTPI2PD instruction is executed.
For more details of this instruction, see the Intel Processor manuals.
Example:
cvtpi2pd xmm1 xmm2