SIMD ISAReturn TypeNameArgumentsInstruction Group
Neonfloat16_tvrecpeh_f16(float16_t a)Vector arithmetic / Reciprocal / Reciprocal estimate
Description
Floating-point Reciprocal Estimate. This instruction finds an approximate reciprocal estimate for each vector element in the source SIMD&FP register, places the result in a vector, and writes the vector to the destination SIMD&FP register.
Results
Hd result
This intrinsic compiles to the following instructions:

FRECPE Hd,Hn

Argument Preparation
a register: Hn
Architectures
A64

Operation

CheckFPAdvSIMDEnabled64();
bits(datasize) operand = V[n];

FPCRType fpcr    = FPCR[];
boolean merge    = elements == 1 && IsMerging(fpcr);
bits(128) result = if merge then V[d] else Zeros();
bits(esize) element;

for e = 0 to elements-1
    element = Elem[operand, e, esize];
    Elem[result, e, esize] = FPRecipEstimate(element, FPCR[]);

V[d] = result;