Yahoo Groups archive

Lpc2000

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

Message

Re: Dhrystone and Whetstone numbers

2005-01-05 by johnnorgaard2003

Hi Michael

I think the GCC compiler setting KEIL compare is without optimizing.

What was the settings in your  Optimization Level in CrossWorks ?

Could you please mail me the two program source code 
Dhrystone v2.1 adn Whetstone to (john_2005@... )?

best regards

John

--- In lpc2000@yahoogroups.com, Michael Johnson <mpj@r...> wrote:
> 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.