vsqrt_f64ADD TO COMPARE ADDED TO COMPARE
Arm 64-bit (64 bits)/ NEON
View official documentation
Location:
Math Functions
>
Vector Square Root
Purpose:
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.
Result:
float64x1_t
Example:
#include <arm_neon.h>
#include <stdio.h>
int main() {
float64x1_t a = vdup_n_f64(16.0);
float64x1_t result = vsqrt_f64(a);
double res = vget_lane_f64(result, 0);
printf("%lf\n", res);
return 0;
}
Prototypes
Assembly Instruction:
FSQRT
Usage:
float64x1_t output =
vsqrt_f64(
float64x1_t a
)
DB statistics
SIMD Engines: | 5 |
C Intrinsics: | 10702 |
NEON: | 4232 |
AVX2: | 462 |
AVX512: | 4955 |
SSE4.2: | 652 |
VSX: | 401 |