c.ngl.d
Compare unordered or equal (double precision)
Sets FP condition flag 0 to true if $f2 equals $f4 or either is NaN; the signaling form acts like c.ueq.d here.
Forms
c.ngl.d ,c.ngl.d , ,Sets FP condition flag N, named by the first operand, to true if the two operands are unordered or equal; the name reads as not greater than or less than, false otherwise. Both register numbers must be even. This is the signalling form, which behaves like 'c.ueq' here because FP exceptions are not tracked. Use 'bc1t' or 'bc1f' to branch on the result.
Operands
$f2- An even-numbered floating-point register,
$f0to$f30. A double-precision value uses this register and the next odd-numbered register. $f4- An even-numbered floating-point register holding a double. It may be the same register as
$f2. cc- A floating-point condition flag number,
0to7. Comparisons set these flags;bc1tandbc1ftest them.
Both register numbers must be even. This is the signalling form, which behaves like 'c.ueq' here because FP exceptions are not tracked. Use 'bc1t' or 'bc1f' to branch on the result.
.data
a: .double 1.25
b: .double 2.5
.text
# Compare 1.25 with 2.5. Inspect FPU condition flag 1: 0 for c.ngl; this predicate is false for these ordered unequal operands.
l.d $f2, a
l.d $f4, b
c.ngl.d 1, $f2, $f4