Messages in this thread | | | Date | Mon, 24 Nov 2003 13:19:35 +0000 | From | Jamie Lokier <> | Subject | Re: transmeta cpu code question |
| |
H. Peter Anvin wrote: > If there is something that one could imagine doing at the CMS level to > help on Linux, it would probably be something like making it optional > to actually perform stores beneath the stack pointer, in which case a > lot of stack frame operations could be done purely in registers. CMS > will do them in registers already, but will be forced to perform a > store at the end of the translation anyway in order to keep exact x86 > semantics.
You couldn't enable that globally, because it'd break userspace programs which write below the stack safely using sigaltstack(), or which even use the stack pointer as a general purpose register (I've coded games which do that in tight rendering loops), or during funky thunking code.
It sounds like a good thing to add as a per-task feature though.
-- Jamie - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |