Hi "geno" and Charles,
> I'm not sure I believe some of these numbers. For example, the 32-bit
> subtraction should be way faster on an ARM. I hunch that a lot of time
> is being chewed up by looping overheads or saving/storing the values
> (something that is often optimised out in real code) or some other
> time waster.
I concur here....
For example :
Test Philips Atmel AVR Microchip TI
LPC2106 (ATMega323) PIC18F452 MSP430F449
Flash[RAM]
32bit multiply 10.4µs [8.76µs] 180µs 344µs 182µs
I find it doubtful that an ATMega takes the same amount of time for a 32 bit multiply as MSP430.
(Assuming the same clocks)
F449 has a 16X16 HW multiply, and AVR has only 8X8 (fract) multiply, notwithstanding the 8 vs. 16 bit architecture.
That is also assuming that a 16 X 16 into 32 bit multiply is intended.
Probably the HW MUL wasn't used on MSP430 ..... silly, since ARM has such an instruction, it should be a fair
equation that HWMUL is used.
-- Kris
[Non-text portions of this message have been removed]Message
Re: [lpc2000] LPC2000 vs 8-bit MCUs
2005-03-07 by microbit
Attachments
- No local attachments were found for this message.