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

Re: [f-cpu] signed cmpl



devik wrote:

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 :)
Note compares are useful when comparing the same
object more than once like a case statement
or setting a logical value. With longer code
sequences however you can appear to null out
the branch prefetch often needed after a compare.
Ben.

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