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

Re: [f-cpu] New snapshot for EU_INC and EU_CMP



On Wed, Jul 31, 2002 at 01:33:18AM +0200, Michael Riepe wrote:
> 
> CMP is supposed to be either 0 or -1: cmp(a, b) = a < b ? -1 : 0.
> 
> MSB1 is supposed to return the *number* of the most significant `1'
> bit: msb1(0xffffffff) = 64, msb1(0) = 0. Currently it returns some
> strange bit mask. Likewise for MSB0.

Idon't agree with you. The criteria for CMP unit for me is :
If A = B, then result is null, else result not null.

I think that is more simple, and permit to win one or more level
latency.

But, my unit is not compliant to the manual. What must we correct :
manual or code ?

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