DSP_mul32
4-67 C64x+ DSPLIB Reference
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