Re: Structure vs purism ?

Richard Henderson (rth@twiddle.net)
Tue, 26 Jan 1999 05:53:53 -0800


On Sun, Jan 24, 1999 at 10:45:43AM +0100, ralf@uni-koblenz.de wrote:
> > Then how do you get a beq or bne instruction?
> > There must be a status register that knows if
> > the last operation resulted in 0.
>
> beq / bne have three operands...

Alpha always compares against 0 for the branch. I get 5 more
bits of displacement than MIPS, which is a good tradeoff, IMO,
especially since cmpxx dual issues. ;-)

> MIPS FPUs are a bit different, they rely on a status register ...

Alpha FP compares result in 2.0 or 0.0, which you then feed into
fbne/fbeq.

r~

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/