gnupic: SDCC


Previous by date: 14 Nov 2001 07:05:19 -0000 Re: SDCC, Ralf Forsberg
Next by date: 14 Nov 2001 07:05:19 -0000 PIC programmers for Linux, Frederic
Previous in thread: 14 Nov 2001 07:05:19 -0000 Re: SDCC, Ralf Forsberg
Next in thread: 14 Nov 2001 07:05:19 -0000 sdcc, John Duncan

Subject: Re: SDCC
From: Ralf Forsberg ####@####.####
Date: 14 Nov 2001 07:05:19 -0000
Message-Id: <20011114080454.A21047@home.se>

On Wed, Nov 14, 2001 at 12:27:05PM +1100, matt wrote:
> On Tue, 13 Nov 2001 22:26, Ralf Forsberg wrote:
> > I've been writing a few tests for sdcc, and then bothering Scott
> > about those that don't work. As I did that I got curious about
> > how the generated code compared to other compilers.
> > 
> > I tried my "alfa.c" on the pic compilers I could find, and then
> > measured execution time using gpsim. All compilers are demo versions
> > downloaded from the web. It may be that the regular versions are better,
> > but that seems strange.
> > 
> > It may not say much, alfa.c perhaps is not the most 'average' program.
> > 
> > accumulated cycles:
> > 	sdcc    picc    picc -O -Zg9    CCSC    sdcc uchar      mpc
> > init	2       0x145   0x143           ?                       9
> > t1	0xc7    0x24a   0x214           0x76    0x5e            ?
> > t2	0x708   0xbae   0x96b           0x46c   0x36c           0x9b3
> > t3	0x26303 0x3d381 0x2e3cd         0x1f7f6 0x14585         0x3fbbe
> > 

Also, those numbers are misleading, since they count cycles from reset.
The "cycles per test" is better.ยง


> Ok, here's my thoughts. I would be VERY VERY VERY surprised if sdcc could 
> beat all those compilers this well with Scott still developing it.
> 

 / Ralf

Previous by date: 14 Nov 2001 07:05:19 -0000 Re: SDCC, Ralf Forsberg
Next by date: 14 Nov 2001 07:05:19 -0000 PIC programmers for Linux, Frederic
Previous in thread: 14 Nov 2001 07:05:19 -0000 Re: SDCC, Ralf Forsberg
Next in thread: 14 Nov 2001 07:05:19 -0000 sdcc, John Duncan


Powered by ezmlm-browse 0.20.