On Thu, Feb 20, 2003 at 09:55:35AM -0800, Steve Fink wrote: > I think this has been discussd before, but are we all okay with this > callee-save-everything policy? At the very least, I'd be tempted to > add a bitmasked saveall/restoreall pair to reduce the amount of cache > thrashing. ("saveall 0b00100110111111110000000000000000") It just > seems odd that you have to either save all 32 of one of the types of > registers, or to save selected ones onto a different stack. But it > *is* simpler to copy over the entire register file to a stack frame, I > guess.
I agree that the bitmasked savesome/restoresome would be less simple. I suspect that a butmasked version would JIT very nicely. Since when did parrot trade simplicity for speed? Nicholas Clark