vsqrt_f32ADD 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:
float32x2_t
Example:
#include <arm_neon.h>
#include <stdio.h>
int main() {
float32x2_t a = {
16.0f, 9.0f
};
float32x2_t result = vsqrt_f32(a);
printf("%f %f\n", vget_lane_f32(result, 0), vget_lane_f32(result, 1));
return 0;
}
Prototypes
Assembly Instruction:
FSQRT
Usage:
float32x2_t output =
vsqrt_f32(
float32x2_t a
)
DB statistics
SIMD Engines: | 5 |
C Intrinsics: | 10702 |
NEON: | 4232 |
AVX2: | 462 |
AVX512: | 4955 |
SSE4.2: | 652 |
VSX: | 401 |