__macw2
In this section:
Syntax
__macw2(short*data1, short*data2, unsigned longcount);
Description
Executes a multiply and accumulate (MAC) operation on 16-bit signed data values and returns the result as a 16-bit signed data value. The result is rounded using theRACW #2 instruction. The parameters data1 and data2 each specify the start address of a 16-bit signed data array. The parameter count specifies the length of (number of elements in) the arrays.
Note
To use intrinsic functions in an application, you must include the header file(s) where they are declared, see Summary of intrinsic functions.