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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

SQRTSD Square Root Scalar Double-Precision<br />

Floating-Point<br />

Computes the square root of the low-order double-precision floating-point value in an<br />

XMM register or in a <strong>64</strong>-bit memory location and writes the result in the low-order<br />

quadword of another XMM register. The high-order quadword of the destination XMM<br />

register is not modified. Taking the square root of +infinity returns +infinity.<br />

Mnemonic Opcode Description<br />

SQRTSD xmm1, xmm2/mem<strong>64</strong> F2 0F 51 /r Computes square root of double-precision floating-point value in<br />

an XMM register or <strong>64</strong>-bit memory location and writes the result<br />

in the destination XMM register.<br />

Related Instructions<br />

RSQRTPS, RSQRTSS, SQRTPD, SQRTPS, SQRTSS<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> 63 0<br />

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

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

square root<br />

sqrtsd.eps<br />

SQRTSD 363

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

Saved successfully!

Ooh no, something went wrong!