[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rep:[f-cpu] about the scheduler...



hi,

jaap stolk wrote:
> --- Nicolas Boulay <nicolas.boulay@ifrance.com> wrote:
> > -----Message d'origine-----
> > De: Yann Guidon <whygee@f-cpu.org>
> > A: fm <f-cpu@seul.org>
<snip>

> i changed my mind on this:
> the check for zero in the register write queue can
> be don in other ways, like just ignoring
> R0_busy when R0_nr == 0.
> 
> but we still need to check somehow if a write slot is
> free.
> 
> if we write to R0, then it would nice if we
> kept the write (port nr) out of the queue, so we
> can use that write slot for somthing else.

each slot should have a "valid" bit, so it validates
the comparisons. Otherwise, as you see, it becomes
too complex.

Question : do we discard the instructions that
write to register zero ? It can save a few cycles,
but on the other hands it might become too complex
to check.


WHYGEE
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu       in the body. http://f-cpu.seul.org/