On Tue, Sep 01, 2009 at 02:46:52PM +0200, Christian Krüger wrote: > Would it make sense to introduce an own parameter call stack (max. page > size), where the pushs and pops also could be inlined (macros)? That means, two stacks, one for parameters, and another for locals? All this is doable, but it has consequences: Quite many routines in the runtime and C library access the stack. Since using such a small stack is just a special case that won't work for all programs, there have to be two variants of each function that uses the stack: One with the separate small stack and one with the larger stack. In addition to that, the compiler knows about register usage of most of the runtime functions, so if there are two versions, the compiler needs to know about both. So this is quite difficult to implement and maintain. I'm just a single person doing this in my spare time. If it were a general solution, I would think about it, but covering just a special case, this is too much work. Sorry. Regards Uz -- Ullrich von Bassewitz uz@musoftware.de ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Tue Sep 1 15:34:36 2009
This archive was generated by hypermail 2.1.8 : 2009-09-01 15:34:38 CEST