Synopsis
int __smladx(int16x2 val1,
int16x2 val2,
int val3);
Description
__smladx inserts a SMLADX instruction. __smladx returns the 16-bit signed equivalent of
- res = val1[0] * val2[1] + val1[1] * val2[0] + val3
where [0] is the lower 16 bits and [1] is the upper 16 bits.
This operation sets the Q flag if overflow occurs on the addition.