You copied the Doc URL to your clipboard.

VRECPS

VRECPS (Vector Reciprocal Step) multiplies the elements of one vector by the corresponding elements of another vector, subtracts each of the results from 2, and places the final results into the elements of the destination vector.

Syntax

VRECPS{cond}.F32 {Qd}, Qn, Qm
VRECPS{cond}.F32 {Dd}, Dn, Dm

where:

cond

is an optional condition code.

Qd, Qn, Qm

are the destination vector, the first operand vector, and the second operand vector, for a quadword operation.

Dd, Dn, Dm

are the destination vector, the first operand vector, and the second operand vector, for a doubleword operation.

Results for out-of-range inputs

Table 40 shows the results where input values are out of range.

Table 40. Results for out-of-range inputs
1st operand element2nd operand elementResult element
NaN-Default NaN
-NaNDefault NaN
+/- 0.0 or denormal+/- infinity2.0
+/- infinity+/- 0.0 or denormal2.0

Usage

The Newton-Raphson iteration:

xn+1 = xn(2-dxn)

converges to (1/d) if x0 is the result of VRECPE applied to d.

See also

Reference
Was this page helpful? Yes No