??? 05/16/07 19:04 Read: times Msg Score: +1 +1 Informative |
#139382 - Caller-saves Responding to: ???'s previous message |
I think you're mistaking caller-saves to mean save only the registers that the callee promised to use. That is as you correctly state unmaintainable.
But usually it means the caller assumes everything can get thrashed and the caller must save everything it would like to keep beyond the call. So both caller-saves and callee-saves are always about saving locally used registers. |