This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Porting gcc for F-CPU without direct JMP
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: devik <devik at cdi dot cz>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 10 Dec 2002 13:55:00 -0500 (EST)
- Subject: Re: Porting gcc for F-CPU without direct JMP
On Tue, 10 Dec 2002, devik wrote:
> I just tried to port GCC 3.2 to free CPU design
> (www.f-cpu.org). The cpu is different in sense that
> there is no direct jump (only indirect jump to preloaded
> address in register).
Have a look at the sh64 port hiding inside the sh port.
It has the same trait; it needs branch targets in special branch
target registers. You should be able to use the same solution.
brgds, H-P