21.07.2015 Views

"TMS320C55x DSP Library DSPLIB Programmer's Reference"

"TMS320C55x DSP Library DSPLIB Programmer's Reference"

"TMS320C55x DSP Library DSPLIB Programmer's Reference"

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

mmulDescriptionAlgorithmThis function finds the index for vector element with minimum value. In caseof multiple minimum elements, r_idx contains the index of the first minimumelement found. r_val contains the minimum value.Not applicableOverflow Handling MethodologyNot applicableSpecial Requirements noneImplementation Notes noneExampleBenchmarksSee examples/minvec subdirectory(preliminary)CyclesCode size(bytes)Core: nx*3Overhead: 826mmulFunctionArgumentsMatrix Multiplicationushort oflag = mmul (DATA *x1,short row1,short col1,DATA *x2,shortrow2,short col2,DATA *r)(defined in mmul.asm)x1[row1*col1]:Pointer to input vector of size nxPointer to input matrix of size row1*col1; row1 :; :; :; r[row1*col2] : Pointer to output data vector of sizerow1*col2row1 number of rows in matrix 1col1 number of columns in matrix 1x2[row2*col2]:Pointer to input matrix of size row2*col2row2 number of rows in matrix 2col2 number of columns in matrix 2r[row1*col2]Pointer to output matrix of size row1*col24-74

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!