lkml.org 
[lkml]   [1999]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Structure vs purism ?
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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [from the cache]
©2003-2011 Jasper Spaans