14.06.2015 Views

Power ISA™ Version 2.03 - Power.org

Power ISA™ Version 2.03 - Power.org

Power ISA™ Version 2.03 - Power.org

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>Version</strong> <strong>2.03</strong><br />

Floating Reciprocal Square Root Estimate<br />

[Single]<br />

A-form<br />

[Category: Floating-Point.Phased-In]<br />

frsqrte FRT,FRB (Rc=0)<br />

frsqrte. FRT,FRB (Rc=1)<br />

63 FRT /// FRB /// 26 Rc<br />

0 6 11 16 21 26 31<br />

frsqrtes FRT,FRB (Rc=0)<br />

frsqrtes. FRT,FRB (Rc=1)<br />

59 FRT /// FRB /// 26 Rc<br />

0 6 11 16 21 26 31<br />

A estimate of the reciprocal of the square root of the<br />

floating-point operand in register FRB is placed into<br />

register FRT. The estimate placed into register FRT is<br />

correct to a precision of one part in 32 of the reciprocal<br />

of the square root of (FRB), i.e.,<br />

ABS estimate – 1 ⁄ ( x)<br />

1<br />

(-----------------------------------------------<br />

) ≤ -----<br />

1⁄<br />

( x)<br />

32<br />

where x is the initial value in FRB.<br />

Operation with various special values of the operand is<br />

summarized below.<br />

Operand Result Exception<br />

-∞ QNaN 2 VXSQRT<br />

< 0 QNaN 2 VXSQRT<br />

-0 -∞ 1 ZX<br />

+0 +∞ 1 ZX<br />

+∞ +0 None<br />

SNaN QNaN 2 VXSNAN<br />

QNaN QNaN None<br />

1 No result if FPSCR ZE = 1.<br />

No result if FPSCR VE = 1.<br />

FPSCR FPRF is set to the class and sign of the result,<br />

except for Invalid Operation Exceptions when<br />

FPSCR VE =1 and Zero Divide Exceptions when<br />

FPSCR ZE =1.<br />

The results of executing this instruction may vary<br />

between implementations, and between different executions<br />

on the same implementation.<br />

Special Registers Altered:<br />

FPRF FR (undefined) FI (undefined)<br />

FX ZX XX (undefined)<br />

VXSNAN VXSQRT<br />

CR1<br />

(if Rc=1)<br />

Chapter 4. Floating-Point Processor [Category: Floating-Point]<br />

117

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

Saved successfully!

Ooh no, something went wrong!