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

vadd_f64
ADD TO COMPARE ADDED TO COMPARE

 Arm 64-bit (64 bits)/ NEON  View official documentation
 Location: Arithmetic  >  Vector Add
Purpose:
Floating-point Add (vector). This instruction adds corresponding vector elements in the two source SIMD&FP registers, writes the result into a vector, and writes the vector to the destination SIMD&FP register. All the values in this instruction are floating-point values.
Result:

float64x1_t

Example:
#include <arm_neon.h>
#include <stdio.h>
int main() {
 float64_t a_data[1] = {
  3.5
 };
 float64_t b_data[1] = {
  2.5
 };
 float64x1_t a = vld1_f64(a_data);
 float64x1_t b = vld1_f64(b_data);
 float64x1_t r = vadd_f64(a, b);
 float64_t result[1];
 vst1_f64(result, r);
 printf("%f\n", result[0]);
}

Prototypes

Assembly Instruction:
FADD
Usage:
float64x1_t result = vadd_f64( float64x1_t a, float64x1_t b )
SIMD Intrinsics Summary
SIMD Engines: 6
C Intrinsics: 10444
NEON: 4353
AVX2: 405
AVX512: 4717
SSE4.2: 598
VSX: 192
IBM-Z: 179