28.2.71 __builtin_mac_32

Architecture

dsPIC33A

Description:

32-bit multiply with accumulate.

Example:

volatile register int Accum asm("A");
int32_t a,b;
 
Accum = __builtin_mac_32(Accum,a,b);

Prototype

int __builtin_mac_32(int Accum, int32_t a, int32_t b);

Arguments

Accum - accumulator

a - left hand side of multiply

b  - right hand side of multiply

Return Value

This builtin returns Accum + (a*b)  into the same accumulator that is input.

Machine Instruction

mac.l

Error Messages

None.