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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

mtransmtransFunctionMatrix Transposeushort oflag = mtrans (DATA *x, short row, short col, DATA *r)(defined in mtrans.asm)Argumentsx[row*col]rowcolr[row*col]Pointer to input matrix. In-place processing is not allowed.number of rows in matrixnumber of columns in matrixPointer to output data vectorDescriptionAlgorithmThis function transposes matrix xfor i = 1 to Mfor j = 1 to NC(j,i) = A(i,j)Overflow Handling MethodologyNot applicableSpecial Requirements noneImplementation Notes noneExampleBenchmarksSee examples/mtrans subdirectory(preliminary)Cycles † Core: (1 + col) * rowOverhead: 23Code size(in bytes)65† Assumes all data is in on-chip dual-access RAM and that there is no bus conflict due to twiddletable reads and instruction fetches (provided linker command file reflects those conditions).mul32Function32-bit Vector Multiplicationushort oflag = mul32 (LDATA *x, LDATA *y, LDATA *r, ushort nx)(defined in mul32.asm)Argumentsx[nx]y[nx]Pointer to input data vector 1 of size nx. In-place processingallowed (r can be = x = y)Pointer to input data vector 2 of size nx4-76

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

Saved successfully!

Ooh no, something went wrong!