This routine finds out the index of maximum number in the input array. This function returns the index of the greatest value.
@param x Pointer to input array.
@param nx Number of inputs in the input array.
- Algorithm:
- DSPF_sp_maxidx_cn.c is the natural C equivalent of the optimized linear assembly code without restrictions. Note that the linear assembly code is optimized and restrictions may apply.
- Assumptions:
- nx is a multiple of 4 and >= 4.
- Implementation Notes:
- Interruptibility: The code is interruptible.
Endian Support: The code supports both big and little endian modes.