Skip to main content

IAR Embedded Workbench for RX 5.20

__RMPA_L

In this section:
Syntax
void __RMPA_L(signed long * v1, signed long * v2, unsigned long n, rmpa_t * acc);
Description

Inserts an RMPA.L instruction. The RMPA instruction sequentially multiplies the two vectors v1 and v2 and adds each product to the accumulator acc. The length of the vectors is n. You can supply an initial value for the accumulator acc, either variable or a constant. The type rmpa_t is declared in the intrinsics.h file.

Note

To use intrinsic functions in an application, you must include the header file(s) where they are declared, see Summary of intrinsic functions.