Skip to main content

IAR Embedded Workbench for RX 5.20

__macl

In this section:
Syntax
long __macl(short* data1, short* data2, unsigned long count);
Description

Executes multiply and accumulate (MAC) operations on 16-bit signed data values and returns the result as a 32-bit signed data value. 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.