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.

26568—Rev. 3.02—August 2002<br />

<strong>AMD</strong> <strong>64</strong>-<strong>Bit</strong> <strong>Technology</strong><br />

SQRTPS<br />

Square Root Packed Single-Precision<br />

Floating-Point<br />

Computes the square root of each of the four packed single-precision floating-point<br />

values in an XMM register or 128-bit memory location and writes the result in the<br />

corresponding doubleword of another XMM register. Taking the square root of<br />

+infinity returns +infinity.<br />

Mnemonic Opcode Description<br />

SQRTPS xmm1, xmm2/mem128 0F 51 /r Computes square roots of packed single-precision floating-point<br />

values in an XMM register or 128-bit memory location and writes<br />

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

xmm1<br />

xmm2/mem128<br />

127 96 95 <strong>64</strong> 63 32 31<br />

0<br />

127 96 95 <strong>64</strong> 63 32 31<br />

0<br />

square root<br />

square root<br />

square root<br />

square root<br />

sqrtps.eps<br />

Related Instructions<br />

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

rFLAGS Affected<br />

None<br />

SQRTPS 359

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

Saved successfully!

Ooh no, something went wrong!