movn.d
Move double-precision if integer register not zero
Copies the double-precision value in $f4 into $f2 if the integer register $t3 is not zero.
Forms
movn.d , ,
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. $t3- Any general-purpose register,
$0to$31, using its numeric or named spelling, such as$8or$t0($zerois$0;$rais$31).
Both FP register numbers must be even.
.data
value: .double 2.0
.text
# movn.d copies when the condition register is nonzero. Inspect $f2:$f3: 2.0 (raw bits 0x4000000000000000).
l.d $f4, value
li $t0, 1
movn.d $f2, $f4, $t0