Porting gcc for F-CPU without direct JMP

Hans-Peter Nilsson hp@bitrange.com
Tue Dec 10 10:59:00 GMT 2002


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



More information about the Gcc mailing list