--- In lpc2000@yahoogroups.com, "soren_t_hansen" < soren_t_hansen@y...> wrote: > I'm making an application on a LPC2132, that must performe a number > of DSP operations. To find out how many operations I can perform, I > need to know how many clock cycles it takes the LPC2132 to performe > a 16 bit times 16 bit = 32 bit multiplication? The ARM7TDMI has a 8x32 hardware multiplier (the "M" in TDMI), and the number of cycles the MUL instruction takes depends on the multiplier operand: 2 cycles if bit 8-31 are all zeroes or all ones 3 cycles if bit 16-31 are all zeroes or all ones 4 cycles if bit 24-31 are all zeroes or all ones 5 cycles in all other cases So in your case, a MUL takes 2 or 3 cycles. Karl Olsen
Message
Re: LPC2132 as DSP processor
2005-05-08 by Karl Olsen
Attachments
- No local attachments were found for this message.