I'd like to be able to specify registers that are safe across function calls
(without the need to save/restore) and I cannot figure out how to do this.
I know that I can set these particular registers to '0' in
CALL_USED_REGISTERS and then remove the call/restore in the
prologue/epilogue, but the stack space is still reserved for the
save/restore. I would like to just rely on the fact that these registers
are safe across function calls and not reserve any stack space for them.
Thanks in advance.
--
View this message in context:
http://www.nabble.com/Registers-safe-across-function-calls-tp24081065p24081065.html
Sent from the gcc - Dev mailing list archive at Nabble.com.