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.

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

RSQRTSS Reciprocal Square Root Scalar Single-Precision<br />

Floating-Point<br />

Computes the approximate reciprocal of the square root of the low-order singleprecision<br />

floating-point value in an XMM register or in a 32-bit memory location and<br />

writes the result in the low-order doubleword of another XMM register. The three<br />

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

rounding control bits (RC) in the MXCSR register have no effect on the result.<br />

The maximum error is less than or equal to 1.5 * 2 –12 times the true reciprocal square<br />

root. A source value that is ±zero or denormal returns an infinity of the source value’s<br />

sign. Negative source values other than –zero and –denormal return a QNaN floatingpoint<br />

indefinite value (“Indefinite Values” in <strong>Volume</strong> 1). For both SNaN and QNaN<br />

source operands, a QNaN is returned.<br />

Mnemonic Opcode Description<br />

RSQRTSS xmm1, xmm2/mem32 F3 0F 52 /r Computes reciprocal of square root of single-precision floatingpoint<br />

value in an XMM register or 32-bit memory location and<br />

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

Related Instructions<br />

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

rFLAGS Affected<br />

None<br />

xmm1 xmm2/mem32<br />

127 32 31 0 127 32<br />

31 0<br />

reciprocal<br />

square root<br />

rsqrtss.eps<br />

RSQRTSS 349

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

Saved successfully!

Ooh no, something went wrong!