DSPF_sp_vecmul
[Math]

Collaboration diagram for DSPF_sp_vecmul:


Detailed Description

void DSPF_sp_vecmul (const float *x1, const float *x2, float *restrict y, const int nx)


Function Documentation

void DSPF_sp_vecmul ( const float *  x1,
const float *  x2,
float *restrict  y,
const int  nx 
)

This routine performs an element by element floating-point multiply of the vectors x1[] and x2[] and returns the values in y[].

Parameters:
x1 Pointer to first input array.
x2 Pointer to second input array.
y Pointer to output array.
nx Number of elements in arrays.
Algorithm:
DSPF_sp_vecmul_cn.c is the natural C equivalent of the optimized linear assembly code without restrictions. Note that the linear assembly code is optimized and restrictions may apply.
Assumptions:
The x1, x2 and y arrays must be double-word aligned
nx is a multiple of 4 and >= 4
Implementation Notes:
Interruptibility: The code is interruptible.
Endian Support: The code supports both big and little endian modes.


Copyright 2014, Texas Instruments Incorporated