trouble with porting architecture

Geert Bosch bosch@gnat.com
Tue Dec 30 20:12:00 GMT 2003


On Dec 30, 2003, at 12:30, Eric Botcazou wrote:
> I think it is a consequence of the extremely low number of 8-bit 
> registers
> on the MC6809, which makes it difficult for GCC's register allocation
> strategy (namely, the reload pass) to work reliably on this 
> architecture.
> I myself ran into the problem several times.

One common work around on that processor is to consider a few locations 
in
page zero (first 256 bytes of memory) as fake 16-bit registers (one or 
two),
since these locations are relatively cheap to load/store.



More information about the Gcc mailing list