28.2.38 __builtin_edac_32

Architecture

dsPIC33A

Description 

Compute the partial Euclidean distance of (x-y)2 adding it to an accumulator.

Example:

volatile register int Accum asm("A");
int32_t x,y;

Accum = __builtin_edac_32(Accum,x,y);

Prototype

int __builtin_edac_32(int Accum, int32_t x, int32_t y);

Arguments

Accum - accumulator to accumulate the result into

x - left hand side of the subtraction

y - right hand side of the subtraction

Return Value

Returns the accumulation of Accum + (x-y)2.

Error Messages

None.