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.

minvecminvalFunctionMinimum Value of a Vectorshort r = minval (DATA *x, ushort nx)(defined in minval.asm)Argumentsx[nx]rnxPointer to input vector of size nx.Minimum value of a vectorLength of input data vectorDescription Returns the minimum element of a vector x.AlgorithmNot applicableOverflow Handling MethodologyNot applicableSpecial Requirements noneImplementation Notes noneExampleBenchmarksSee examples/minval subdirectory(preliminary)Cycles † Core: nx/2Overhead: 7Code size(in bytes)20† 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).minvecFunctionIndex and Value of the Minimum Element of a Vectorvoid minvec (DATA *x, ushort nx, DATA *r_val, DATA *r_idx)(defined in minvec.asm)Argumentsx[nx]r_valr_idxPointer to input vector of size nx.Minimum valueIndex for vector element with minimum valuenx Length of input data vector (nx 6)Function Descriptions4-73

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

Saved successfully!

Ooh no, something went wrong!