There is vaddhn_high_s16 intrinsic for arm64.
The official ARM documentation for this intrinsic is here. However, the given description, and pseudo code, all make me confusing.
Can anyone using practical C/C++ code to explain what does vaddhn_high_s16 do?
For example, assuming all datatypes are defined, and vmulq_f32 intrinsic can be explained with this implementation:
float32x4_t vmulq_f32(float32x4_t a, float32x4_t b)
{
float32x4_t r;
for (int i=0; i<4; i++)
{
r[i] = a[i] * b[i];
}
return r;
}