31.5.10 mips_vec_mul32

Description

Multiplies each Q31 element of indata1 by the corresponding element of indata2 and stores the results to outdata. The number of samples to be processed is given by the parameter N.

Mathematically,

outdata[n] = indata1[n] x indata2[n]

Include

dsplib_dsp.h

Prototype

void
mips_vec_mul32
(
       int32 *outdata,
       int32 *indata1,
       int32 *indata2,
       int N
);

Argument

outdata: Output array of 32-bit fixed-point elements in Q31 format.

indata1: First input array with 32-bit fixed-point elements in Q31 format.

indata2: Second input array.

N: Number of samples.

Return Value

None.

Remarks

  • The pointers outdata, indata1, and indata2 must be aligned on 4-byte boundaries.
  • N must be larger than or equal to 4 and a multiple of 4.