Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Dhrystone and Whetstone numbers

2005-01-05 by Michael Johnson

I'll try again without html attachments. These numbers are for 
CrossWorks 1.3 which uses version 3.4.1 of cc1.exe and cc1plus.exe from 
the GNU Compiler Collection. We use our own C library with the go-faster 
floating point code from gcclib.

Dhrystone v2.1
 
ARM - Code size 9,498 bytes, 51,948 dhry/sec
THUMB - Code size 8,228 bytes, 48,192 dhry/sec

Whetstone

ARM - Code size 12,908 bytes, 2.4 MIPS
THUMB - Code size 10,608 bytes, 2.2 MIPS

All benchmarks were executed on a Philips LPC2294 running at 60Mhz with 
the MAM enabled.

We use debug_stdio.h rather than stdio.h to keep the code size down. 
Which could be considered to be cheating, but demonstrates that end 
applications can do printf style debugging without a big code size increase.

Regards
Michael

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.