<<<    Index    >>>
3-137
INSTRUCTION SET REFERENCE
CVTTSS2SIĀ—Scalar Single-FP to Signed INT32 Conversion 
(Truncate)
Description
The CVTTSS2SI instruction converts an SP FP number to a signed 32-bit integer and returns it
in the 32-bit integer register. If the conversion is inexact, the truncated result is returned. If the
converted result is larger than the maximum signed 32 bit value, the Integer Indefinite value
(0x80000000) will be returned.
 
Figure 3-33.  Operation of the CVTTSS2SI Instruction
Operation
r32 = (INT) (SRC/m32[31-0]);
OpcodeInstruction
Description
F3,0F,2C,/rCVTTSS2SI r32, xmm/m32Convert lowest SP FP from XMM/Mem to one 32 bit 
signed integer using truncate, and move the result to 
an integer register. 
Xmm1/
m32
CVTTSS2SI r321, xmm1/m32                                              
 R32
 R32
Int
<<<    Index    >>>