Synopsis
int16x2 __shsub16(int16x2 val1,
int16x2 val2);
Description
__shsub16 inserts a SHSUB16 instruction. __shsub16 returns the 16-bit signed equivalent of
- res[0] = (val1[0] - val2[0])/2
- res[1] = (val1[1] - val2[1])/2
where [0] is the lower 16 bits and [1] is the upper 16 bits.