[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Rep:Re: [f-cpu] Stack handling
Nicolas Boulay wrote:
>>From the beginning we choose that they will be no hardware stack in
> F-cpu. Stacks are always a bottleneck. So this should be left on the SW
> side.
>
> If you want to avoid the need to save and restore data for call
> convention, we should use windowed register (that could be a great thing
> to decrease memory pressure, because most of the time there is no memory
> access). But the interrupt handler must be really optimised.
Windowed register have big problems with recursive function or too
imbricated call. And task switching is a nightmare.
--
Thomas Lavergne "Le vrai rêveur est celui qui rêve
de l'impossible." (Elsa Triolet)
thomas.lavergne@laposte.net
d-12@laposte.net ICQ:#137121910 http://assoc.wanadoo.fr/thallium/
*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu in the body. http://f-cpu.seul.org/