DSP_add16
[Math]

Collaboration diagram for DSP_add16:


Detailed Description

void DSP_add16 (short *restrict x, short *restrict y, short *restrict r, int nx)


Function Documentation

void DSP_add16 ( short *restrict  x,
short *restrict  y,
short *restrict  r,
int  nx 
)

This program performs a addition on a vector. The result is stored in a vector.

Parameters:
x = Input data array of shorts
y = Input data array of shorts
r = Output data array of shorts
nx = Number of elements in the arrays
Algorithm:
DSP_add16_cn.c is the natural C equivalent of the optimized intrinsic C code without restrictions note that the intrinsic C code is optimized and restrictions may apply.
Assumptions:
Arrays x, y, r do not overlap.
Arrays x, y, r are aligned on double word boundaries.
Implementation notes:
Endian Support: The code supports both big and little endian modes.
Interruptibility: The code is interruptible.


Copyright 2014, Texas Instruments Incorporated