# CVTSI2SD
# Convert Doubleword Integer to Scalar Double- Precision Floating-Point Value
Opcode | Mnemonic | Description |
---|---|---|
F2 0F 2A /r | CVTSI2SD xmm, r/m32 | Convert one signed doubleword integer from r/m32 to one double-precision floating-point value in xmm. |
# Description
Converts a signed doubleword integer in the source operand (second operand) to a double-precision floating-point value in the destination operand (first operand). The source operand can be a general-purpose register or a 32-bit memory location. The destination operand is an XMM register. The result is stored in the low quadword of the destination operand, and the high quadword left unchanged.
# Operation
Destination[0..63] = ConvertIntegerToDouble(Source[0..31]);
//Destination[64..127] remains unchanged
1
2
3
2
3
# SIMD Floating-Point Exceptions
None.
# Protected Mode Exceptions
# Real-Address Mode Exceptions
# Virtual-8086 Mode Exceptions
Same exceptions as in Real Address Mode
#PF(fault-code) | For a page fault. |
#PF(fault-code) | For a page fault. |
Instruction | Latency | Throughput | Execution Unit |
---|---|---|---|
CPUID | 0F3n/0F2n/069n | 0F3n/0F2n/069n | 0F2n |
CVTSI2SD xmm, r32 | 16/15/4 | 2/3/1 | FP_ADD MMX_SHFT MMX_MISC |