![]()
Message Of The Day
Dhrystone-Benchmark with GCC
Tested with dhrystone 1.1 from the package "Keil uVision3", C-Compiler ECO-C-arm V2.2b with IDE (based on GCC 3.3.2), library by PAULundSCHERER (replacing newlib).
Dhrystone was compiled for the controllers LPC2106, LPC2194 and LPC2138 and executed on the real hardware. The controllers ran at 60MHz, with MAM (Memory Access Module) active. The programs ran in the internal FLASH.
Below the results:
SBC Controller Dhrystones Code Size
in BytesMode Compiler LC2138 LPC2138 56818
537634733
3541ARM
ThumbGCC 3.3.2 LC2194 LPC2194 61162
554014733
3541ARM
ThumbGCC 3.3.2 NET2106 LPC2106 61162
554014733
3541ARM
ThumbGCC 3.3.2 There are strange differences between LPC2106/LPC2194 and LPC2138.
The program was also compiled with the Keil-Compiler and executed on NET2106.
Below the results:
SBC Controller Dhrystones Code Size
in BytesMode Compiler NET2106 LPC2106 30211
304874512
3424ARM
ThumbKeil 2.40a The code sizes are similar. The bad dhrystone results for the Keil-Compiler, compared to GCC are surprising.
For a detailed discussion of this topic see
www.mct.net
http://www.compuphase.com/dhrystone.htm.