Functions
DSPF_sp_vecmul
Collaboration diagram for DSPF_sp_vecmul:

Functions

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

Detailed Description

Function Documentation

◆ DSPF_sp_vecmul()

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[].

   @param x1 Pointer to first input array.
   @param x2 Pointer to second input array.
   @param y  Pointer to output array.
   @param 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 2022, Texas Instruments Incorporated