gnupic: SDCC Pic Port


Previous by date: 13 Nov 2000 22:44:49 -0000 gpasm-0.8.12 - ERRORLEVEL directive works, Scott Dattalo
Next by date: 13 Nov 2000 22:44:49 -0000 Re: SDCC Pic Port, Scott Dattalo
Previous in thread: 13 Nov 2000 22:44:49 -0000 SDCC Pic Port, Scott Dattalo
Next in thread: 13 Nov 2000 22:44:49 -0000 Re: SDCC Pic Port, Scott Dattalo

Subject: Re: SDCC Pic Port
From: Wojtek Zabolotny ####@####.####
Date: 13 Nov 2000 22:44:49 -0000
Message-Id: <20001113234103.A3716@wzab.nasz.dom>

On Sun, Nov 12, 2000 at 05:21:32PM -0600, Scott Dattalo wrote:
> 
> I've gone ahead and bit the bullet. I'm starting to port SDCC, Sandeep Dutta's
> Small Device C Compiler, to the PIC. SDCC's home page: 
> http://sdcc.sourceforge.net/

It's really great!

> Sandeep and his team have done most of the hardwork. SDCC creates an
> intermediate file that is processed with the device specific code. Some things
> like dead code removal, loop optimization, etc. have already been done. This is
> going to be a large effort and I'll say up front: NO promises! I've got a
> request to Sandeep to get developer's access to their CVS. I'll keep everyone
> here posted on the progress.
> 
> As I told Sandeep, the plan is this: 
>   phase 1 - Port expression's
>   phase 2 - Port Call's/Function entry/exit and psuedo stack/register allocation
>

Just two suggestions. AFAIK SDCC does not analyse the call tree
(has it changed last time?).
I think that for PIC16xxxx it is necessary to base the data overlaying
on the call tree analysis.
Additionally it would be good to sacrifice the recursion, and
keep the return address in the RAM (with 8 stack levels it can be difficult
to utilize the recursion anyway ;-).
-- 
			Regards
			Wojciech Zabolotny
			http://www.ise.pw.edu.pl/~wzab

When buying any hardware, ask the dealer if it is Open Source friendly!!!
http://www.openhardware.org

Previous by date: 13 Nov 2000 22:44:49 -0000 gpasm-0.8.12 - ERRORLEVEL directive works, Scott Dattalo
Next by date: 13 Nov 2000 22:44:49 -0000 Re: SDCC Pic Port, Scott Dattalo
Previous in thread: 13 Nov 2000 22:44:49 -0000 SDCC Pic Port, Scott Dattalo
Next in thread: 13 Nov 2000 22:44:49 -0000 Re: SDCC Pic Port, Scott Dattalo


Powered by ezmlm-browse 0.20.