05.02.2013 Views

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

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.

Assembler syntax<br />

Instruction Details<br />

VRSQRTS.F32 {,} , Encoded as Q = 1, sz = 0<br />

VRSQRTS.F32 {,} , Encoded as Q = 0, sz = 0<br />

where:<br />

See St<strong>and</strong>ard assembler syntax fields on page A8-7. An <strong>ARM</strong> VRSQRTS instruction<br />

must be unconditional.<br />

, , The destination vector <strong>and</strong> the oper<strong>and</strong> vectors for a quadword operation.<br />

, , The destination vector <strong>and</strong> the oper<strong>and</strong> vectors for a doubleword operation.<br />

Operation<br />

if ConditionPassed() then<br />

EncodingSpecificOperations(); CheckAdvSIMDEnabled();<br />

for r = 0 to regs-1<br />

for e = 0 to elements-1<br />

Elem[D[d+r],e,esize] = FPRSqrtStep(Elem[D[n+r],e,esize], Elem[D[m+r],e,esize]);<br />

Exceptions<br />

Undefined Instruction.<br />

Floating-point exceptions: Input Denormal, Invalid Operation, Overflow, Underflow, <strong>and</strong> Inexact.<br />

Newton-Raphson iteration<br />

For details of the operation performed <strong>and</strong> how it can be used in a Newton-Raphson iteration to calculate<br />

the reciprocal of the square root of a number, see Reciprocal square root on page A2-61.<br />

<strong>ARM</strong> DDI 0406B Copyright © 1996-1998, 2000, 2004-2008 <strong>ARM</strong> Limited. All rights reserved. A8-745

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

Saved successfully!

Ooh no, something went wrong!