DSP_mul32

e+=d;

/* Xhigh*Yhigh + */

 

/* (Xhigh*Ylow+Xlow*Yhigh)>>16 */

*(r++)=e;

 

}

}

Special Requirements

-nx must be a multiple of 8 and greater than or equal to 16.

-Input and output vectors must be double-word aligned.

Implementation Notes

 

- Bank Conflicts: No bank conflicts occur.

 

- Interruptibility: The code is interrupt-tolerant but not interruptible.

 

- The MPYHI instruction is used to perform 16 x 32 multiplies to form 48-bit

 

intermediate results.

Benchmarks

Cycles

9 * nx/8 + 18

 

Codesize

512 bytes

C64x+ DSPLIB Reference

4-67

Page 95
Image 95
Texas Instruments TMS320C64X manual Intermediate results