This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC port for V8-uRISC (8 bit CPU)
- From: Alan Lehotsky <qsmgmt at earthlink dot net>
- To: Nemanja Popov <nemanja dot popov at micronasnit dot com>, gcc at gcc dot gnu dot org
- Date: Wed, 5 Apr 2006 12:49:10 -0400 (GMT-04:00)
- Subject: Re: GCC port for V8-uRISC (8 bit CPU)
- Reply-to: Alan Lehotsky <qsmgmt at earthlink dot net>
I participated in a port to an 8-bit internet toaster 4 years ago (the Ubicom IP2k chip).
It's distributed as part of the gcc-3.x releases, but has been dropped from the gcc-4.x distributions.
The IP2k was a very restrictive environment, and it took a lot of work to get it to generate really tight code.
I'd definely suggest looking at gcc/config/ip2k to see how we did it....
-----Original Message-----
>From: Nemanja Popov <nemanja.popov@micronasnit.com>
>Sent: Apr 5, 2006 9:50 AM
>To: gcc@gcc.gnu.org
>Subject: GCC port for V8-uRISC (8 bit CPU)
>
>Hi,
>
>Can somebody please explain to me is it reasonable and possible to port gcc
>(version 4.xx) to 8 bit cpu architecture.
>I would appreciate precise explanation why it is possible or not.
>
>CPU is V8-uRISC.
>
>V8-uRISC Features are:
>
> 8-bit ALU
> 64K byte addressing capability
> Accumulator (R0)
> Seven 8-bit General Purpose Registers (R1-R7)
> Multiple register banks are easily implemented
> 16-bit Program Counter and Stack Pointer
>
>Thanks in advance for all informations.
>Regards,
>Nemanja Popov
>