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 />

ADDSD Add Scalar Double-Precision Floating-Point<br />

Adds the double-precision floating-point value in the low-order quadword of the first<br />

source operand to the double-precision floating-point value in the low-order quadword<br />

of the second source operand and writes the result in the low-order quadword of the<br />

destination (first source). The high-order quadword of the destination is not modified.<br />

The first source/destination operand is an XMM register. The second source operand is<br />

another XMM register or <strong>64</strong>-bit memory location.<br />

Mnemonic Opcode Description<br />

ADDSD xmm1, xmm2/mem<strong>64</strong> F2 0F 58 /r Adds low-order double-precision floating-point values in an XMM<br />

register and another XMM register or <strong>64</strong>-bit memory location and<br />

writes the result in the destination XMM register.<br />

Related Instructions<br />

ADDPD, ADDPS, ADDSS<br />

rFLAGS Affected<br />

None<br />

MXCSR Flags Affected<br />

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

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

63 0<br />

FZ RC PM UM OM ZM DM IM DAZ PE UE OE ZE DE IE<br />

10 ADDSD<br />

M M M M M<br />

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

Note:<br />

A flag that may be set to one or cleared to zero is M (modified). Unaffected flags are blank.<br />

add<br />

addsd.eps

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

Saved successfully!

Ooh no, something went wrong!