09.01.2013 Views

AMD x86-64 Architecture Programmer's Manual, Volume 4, 128-Bit ...

AMD x86-64 Architecture Programmer's Manual, Volume 4, 128-Bit ...

AMD x86-64 Architecture Programmer's Manual, Volume 4, 128-Bit ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>AMD</strong><strong>64</strong> Technology 26568—Rev. 3.05—September 2003<br />

CVTSD2SS Convert Scalar Double-Precision Floating-Point<br />

to Scalar Single-Precision Floating-Point<br />

Converts a scalar double-precision floating-point value in the low-order <strong>64</strong> bits of an<br />

XMM register or a <strong>64</strong>-bit memory location to a single-precision floating-point value<br />

and writes the converted value in the low-order 32 bits of another XMM register. The<br />

three high-order doublewords in the destination XMM register are not modified. If the<br />

result of the conversion is an inexact value, the value is rounded as specified by the<br />

rounding control bits (RC) in the MXCSR register.<br />

Mnemonic Opcode Description<br />

CVTSD2SS xmm1, xmm2/mem<strong>64</strong> F2 0F 5A /r Converts a scalar double-precision floating-point value in an<br />

XMM register or <strong>64</strong>-bit memory location to a scalar singleprecision<br />

floating-point value in the destination XMM<br />

register.<br />

Related Instructions<br />

CVTPD2PS, CVTPS2PD, CVTSS2SD<br />

rFLAGS Affected<br />

None<br />

xmm1 xmm2/mem<strong>64</strong><br />

127 32<br />

31 0<br />

70 CVTSD2SS<br />

127 <strong>64</strong> 63 0<br />

convert<br />

cvtsd2ss.eps

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!