وو

وحید آنلاین . آرشیو وبلاگ وحیدمی دات آی آر . شرکت بیان. vahidmy.blog.ir

وو

وحید آنلاین . آرشیو وبلاگ وحیدمی دات آی آر . شرکت بیان. vahidmy.blog.ir

CVTTSD2SI

CVTTSD2SI 

Usage: CVTTSD2SI dest,src                                    Modifies flags: None

Converts a double-precision floating-point value in the 'src' to a signed doubleword integer in the 'dest' operand.

Scalar Double-Precision FP to Signed INT32 Conversion with Truncation


CVTTSD2SI reg32,xmm/mem64      ; F2 0F 2C /r    [WILLAMETTE,SSE2]


CVTTSD2SI converts a double-precision FP value in the source operand to a signed doubleword in the destination operand. If the result is inexact, it is truncated (rounded toward zero).


The destination operand is a general purpose register. The source can be either an XMM register or a 64-bit memory location. If the source is an xmm register, the input value is in the low quadword. For more details of this instruction, see the Intel Processor manuals.


Example:

cvttsd2si xmm1 xmm2