Part Number: EVMK2G
Tool/software: TI-RTOS
Hi,
I am working with the EVMK2G eval board, and trying to make some optimizations to our DSP code to use vectorized operations in hopes that it will take advantage of the SIMD operations on the DSP chip.
Do you have any suggestions for optimal ways of calling fmaxf or fminf for an entire array. For example, I have code like this:
for (i = 0; i < arrayLength; ++i) { newArray[i] = fmaxf(0.0f, array[i]); newArray[i] = fminf(127.0f, array[i]); }
Hoping there is a function like the math functions in DSPLIB that would help me out.
Thanks a lot for your help!
Andrew