??? 05/05/09 08:26 Modified: 05/05/09 08:32 Read: times |
#165061 - Dhrystone? Responding to: ???'s previous message |
The value of Dhrystone as a benchmark in small embedded systems is dubious. That benchmark concentrates on moving huge chunks of data around and performing 32-bit arithmetics on them. That's almost exactly what a typical small microcontroller never needs to do.
http://www.8052.com/forum/read/152983 Personal view, arguable. JW [edit] Oh yes, and then Dhrystone is a combined benchmark of the processor AND the compiler. Without significant help from the compiler, many of the enhancements would simply not be utilised. I fail to find on the mentioned website, WHICH compiler was used to produce the above result. With careful hand-coding of Dhrystone in asm, I assume at least a 2x gain over any C compiler could be achieved, for example. With using a stock compiler which is not aware of dual DPTR and the arithmetic coprocessor and other enhanced features of the given core, it's not likely (although not impossible) that the performance increase would exceed 12. [/edit] |