Texas Instruments TMS320C64X Security Camera User Manual


 
DSP_fir_cplx_hM4X4
4-41 C64x+ DSPLIB Reference
Special Requirements
- The number of coefficients nh must be larger or equal to 4 and a multiple
of 4.
- The number of output samples nr must be a multiple of 4.
Implementation Notes
- Bank Conflicts: No bank conflicts occur.
- Interruptibility: The code is fully interruptible.
- The outer loop is unrolled 4 times while the inner loop is not unrolled.
- Both inner and outer loops are collapsed in one loop.
- ADDAH and SUBAH are used along with PACKH2 to perform
accumulation, shift and data packing.
- Collapsed one stage of epilog and prolog each.
Benchmarks Cycles nr * nh*9/16 + 40
Codesize 384 bytes