25.02.2015 Views

AMD 64-Bit Technology - ECE User Home Pages

AMD 64-Bit Technology - ECE User Home Pages

AMD 64-Bit Technology - ECE User Home Pages

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.

<strong>AMD</strong> <strong>64</strong>-<strong>Bit</strong> <strong>Technology</strong> 26568—Rev. 3.02—August 2002<br />

SQRTSD<br />

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

xmm1<br />

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

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

square root<br />

sqrtsd.eps<br />

Related Instructions<br />

RSQRTPS, RSQRTSS, SQRTPD, SQRTPS, SQRTSS<br />

rFLAGS Affected<br />

None<br />

MXCSR Flags Affected<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 can be set to one or zero is M (modified). Unaffected flags are blank.<br />

362 SQRTSD

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

Saved successfully!

Ooh no, something went wrong!