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
Implementation Notes
| - Bank Conflicts: No bank conflicts occur. | |
| - Interruptibility: The code is | |
| - The MPYHI instruction is used to perform 16 x 32 multiplies to form | |
| intermediate results. | |
Benchmarks | Cycles | 9 * nx/8 + 18 |
| Codesize | 512 bytes |
C64x+ DSPLIB Reference |