gnupic: SDCC unsigned char arithmetic test


Previous by date: 14 Nov 2001 14:54:20 -0000 Re: SDCC test files, Scott Dattalo
Next by date: 14 Nov 2001 14:54:20 -0000 Re: CUMP and programmers for Linux, Carlos Nieves Onega
Previous in thread: 14 Nov 2001 14:54:20 -0000 SDCC unsigned char arithmetic test, Ralf Forsberg
Next in thread:

Subject: Re: SDCC unsigned char arithmetic test
From: Scott Dattalo ####@####.####
Date: 14 Nov 2001 14:54:20 -0000
Message-Id: <Pine.LNX.4.33.0111140651230.7896-100000@ruckus.brouhaha.com>

On Wed, 14 Nov 2001, Ralf Forsberg wrote:

> I modified the alfa.c program I menitioned, so it uses unsigned chars.
>
> cycles used:
> 	sdcc    picc -O -Gz	ccsc
> init	0 (?)	0x96		?
> t1      0x5a    0x66            0x6a-x (init. is included here for ccsc)
> t2      0x30e   0x302           0x2e7
> t3      0x13219 0x1348b         0x12f44
>
> program memory used:
> 	init            program         total
> sdcc			0x80
> picc	0x12            0x93
> ccsc					0x85

There, that's more like it! Look's like inlining helps a little :).

Thanks for running these comparisons, Ralf.
Scott


Previous by date: 14 Nov 2001 14:54:20 -0000 Re: SDCC test files, Scott Dattalo
Next by date: 14 Nov 2001 14:54:20 -0000 Re: CUMP and programmers for Linux, Carlos Nieves Onega
Previous in thread: 14 Nov 2001 14:54:20 -0000 SDCC unsigned char arithmetic test, Ralf Forsberg
Next in thread:


Powered by ezmlm-browse 0.20.