On Tue, Jan 22, 2008 at 03:21:07PM -0800, SJS wrote:
> > So are you saying the way to build a fast CPU is to have as many registers 
> > as
> > possible to avoid the stack as much as possible?
>
> No, because too many registers really slow the machine down when you
> have a context switch or function call.  All those registers have to be
> saved off somewhere.
>
> The SPARC idea of a "register window" is really interesting here, at
> least for function calls.  It's sort of a stack of registers....

Ug...this is sounding like a really hard problem to solve!!? :)
"Hmmm, how many registers should we add?"

cs

-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to