I'm working on a port to a Harvard architecture where the data memory addresses 
are only 14 bits wide (e.g. 16kb) and the instruction address space is 21 bits 
wide. 

I do not want to define Pmode as PSImode; the machine has separate address 
registers for data memory AND with such limited data memory, I really want data 
pointers to stay HImode.

I've noticed that some generated function calls are appearing as 

        (call (mem:SI  (symbol_ref:HI ("function_name") ....

which I suspect is wrong for code addresses outside of the first 65kb of 
instruction memory.

It would be helpful to see an existing port with wider function pointers to 
help me avoid stumbling over some of these issues. Is there a current port that 
has larger instruction memory addresses than  data addresses? 






Reply via email to