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

Re: [f-cpu] signed cmpl



> `cmplei $255, r2, r1' which have no corresponding instruction. Therefore,
> we should implement a different pair of compare instructions. I guess
> the best alternative is `cmpg' and `cmple'. We may also provide all of
> them (cmp[lg] and cmp[lg]e) with little additional hardware (and without

cmpg and cmple should be enough. As you said it will allow us
to code all reg-reg comparisons, full r>i and r<=i and remaining
two with one-biased constant.
I'm not sure whether is it useful to have defined all of them in asm
if we'd decide to not implement them.
Just my opinion :)

devik

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