CVTPI2PS
Usage: CVTPI2PS dest,src Modifies flags: None
Converts two packed signed doubleword integers in the 'src' operand to two packed single-precision floating-point values in the destination operand.
Packed Signed INT32 to Packed Single-FP Conversion
CVTPI2PS xmm,mm/mem64 ; 0F 2A /r [KATMAI,SSE]
CVTPI2PS converts two packed signed doublewords from the source operand to two packed single-precision FP values in the low quadword of the destination operand. The high quadword of the destination remains unchanged. When a conversion is inexact, the value returned is rounded according to the rounding control bits in the MXCSR register
The destination operand is an XMM register. The source can be either an MMX register or a 64-bit memory location. For more details of this instruction, see the Intel Processor manuals.
Example:
cvtpi2ps xmm1 xmm2