x86 Instruction Set Reference
CVTSI2SS
Convert Doubleword Integer to Scalar Single- Precision Floating-Point Value
Opcode | Mnemonic | Description |
---|---|---|
F3 0F 2A /r |
CVTSI2SS xmm, r/m32 |
Convert one signed doubleword integer from r/m32 to one single-precision floating-point value in xmm. |
Description |
---|
Converts a signed doubleword integer in the source operand (second operand) to a single-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 doubleword of the destination operand, and the upper three doublewords are left unchanged. When a conversion is inexact, the value returned is rounded according to the rounding control bits in the MXCSR register. |
Operation |
---|
Destination[0..31] = ConvertIntegerToFloat(Source[0..31]); //Destination[32..127] remains unchanged |
SIMD Floating-Point Exceptions |
---|
Precision. |
Protected Mode Exceptions | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Real-Address Mode Exceptions | ||||||||
---|---|---|---|---|---|---|---|---|
|
Virtual-8086 Mode Exceptions | ||||
---|---|---|---|---|
Same exceptions as in Real Address Mode
|
Instruction | Latency | Throughput | Execution Unit |
---|---|---|---|
CPUID | 0F3n/0F2n/069n | 0F3n/0F2n/069n | 0F2n |
CVTSI2SS xmm, r32 | 12/11/4 | 2/2/2 | FP_ADD MMX_SHFT MMX_MISC |