GCC Port (gcc backend) for Microchip PICMicro microcontroller

Colm O' Flaherty colm_o_flaherty@hotmail.com
Tue Apr 11 07:47:00 GMT 2006


I'm not quite sure I follow you.. if its possible to dedicate a register to 
act as the data-stack pointer, and implement it that way, why would I want 
to "keep the SP as a virtual register"?  I'm not being antagonistic when I 
say that.. I'm just trying to understand what you're trying to tell me..

Will check out the ip2k port again.. the last time I looked, I was blinded 
by the assumption that if the usual stack macros were defined in a 
straightforward fashion, that the target actually supported (or implemented) 
a stack... "It ain't necessarily so".

>you might be able to keep the SP as a virtual register and make sure
>that code generation never tries to actually use it




More information about the Gcc mailing list