Convert Packed Doubleword Integers to Packed Single-Precision Floating-Point Values (MMX)

Encoding

EncodingOperand 1Operand 2
rmModRM.reg[w]ModRM.r/m[r]

Description

The CVTPI2PS instruction converts two packed doubleword integers from the source operand into single-precision floating-point values. The result is stored in the destination operand.

Operation

public void CVTPI2PS(SimdF32 dest, MmxI32 src)
{
    dest[0] = ConvertToF32(src[0]);
    dest[1] = ConvertToF32(src[1]);
}

Intrinsics

Exceptions

SIMD Floating-Point

#XM
  • #P - Inexact result.

Other Exceptions