Please enter what you're looking for to continue your search
 

vsqrtq_f64
ADD TO COMPARE ADDED TO COMPARE

 Arm 64-bit (64 bits)/ NEON  View official documentation
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:

float64x2_t

Example:
#include <arm_neon.h>
#include <stdio.h>
int main() {
 float64x2_t a = {
  16.0, 9.0
 };
 float64x2_t result = vsqrtq_f64(a);
 double res[2];
 vst1q_f64(res, result);
 printf("%lf %lf\n", res[0], res[1]);

 return 0;
}

Prototypes

Assembly Instruction:
FSQRT
Usage:
float64x2_t output = vsqrtq_f64( float64x2_t a )
DB statistics
SIMD Engines: 5
C Intrinsics: 10702
NEON: 4232
AVX2: 462
AVX512: 4955
SSE4.2: 652
VSX: 401