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

vaddq_f16
ADD TO COMPARE ADDED TO COMPARE

 Arm 64-bit (64 bits)/ NEON  View official documentation
 Location: Arithmetic  >  Vector Add
 Supported Architectures: A32, A64
Purpose:

This instruction adds corresponding unsigned 8-bit integer elements of two vectors.

Result:

float16x8_t

Example:
#include <arm_neon.h>
#include <stdio.h>
int main() {
 float16x8_t a = {
  1.5f, 2.5f, 3.5f, 4.5f, 5.5f, 6.5f, 7.5f, 8.5f
 };
 float16x8_t b = {
  4.0f, 1.0f, 2.0f, 5.0f, 6.0f, 3.0f, 8.0f, 7.0f
 };
 float16x8_t result = vaddq_f16(a, b);

 return 0;
}

Prototypes

Assembly Instruction:
FADD
Usage:
float16x8_t result = vaddq_f16( float16x8_t a, float16x8_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