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

Re: [f-cpu] signed cmpl



On Thu, Dec 19, 2002 at 08:26:44PM +0100, 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.

Ok, then I'll go for it.

> I'm not sure whether is it useful to have defined all of them in asm
> if we'd decide to not implement them.

Because many programmers tend to add 1 when they should subtract, and
vice versa ;)

-- 
 Michael "Tired" Riepe <Michael.Riepe@stud.uni-hannover.de>
 "All I wanna do is have a little fun before I die"
*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu       in the body. http://f-cpu.seul.org/