This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: trouble with porting architecture



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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]