SIMD ISAReturn TypeNameArgumentsInstruction Group
Neonfloat16_tvsqrth_f16(float16_t a)Vector arithmetic / Square root
Description
Floating-point Square Root (vector). This instruction calculates the square root 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:

FSQRT Hd,Hn

Argument Preparation
a register: Hn
Architectures
A32, A64

Operation

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

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

V[d] = result;