SIMD ISAReturn TypeNameArgumentsInstruction Group
Neonuint8x8_tvpadd_u8(uint8x8_t a, uint8x8_t b)Vector arithmetic / Pairwise arithmetic / Pairwise addition
Description
Add Pairwise (vector). This instruction creates a vector by concatenating the vector elements of the first source SIMD&FP register after the vector elements of the second source SIMD&FP register, reads each pair of adjacent vector elements from the concatenated vector, adds each pair of values together, places the result into a vector, and writes the vector to the destination SIMD&FP register.
Results
Vd.8B result
This intrinsic compiles to the following instructions:

ADDP Vd.8B,Vn.8B,Vm.8B

Argument Preparation
a register: Vn.8Bb register: Vm.8B
Architectures
v7, A32, A64

Operation

CheckFPAdvSIMDEnabled64();
bits(datasize) operand1 = V[n];
bits(datasize) operand2 = V[m];
bits(datasize) result;
bits(2*datasize) concat = operand2:operand1;
bits(esize) element1;
bits(esize) element2;

for e = 0 to elements-1
    element1 = Elem[concat, 2*e, esize];
    element2 = Elem[concat, (2*e)+1, esize];
    Elem[result, e, esize] = element1 + element2;

V[d] = result;