floor.w.d
Floor double-precision to word
Converts the double-precision value in the second register to a 32-bit integer in the first, rounding toward negative infinity.
Forms
floor.w.d ,
Operands
$f1- Any floating-point register,
$f0to$f31. $f2- An even-numbered floating-point register,
$f0to$f30. A double-precision value uses this register and the next odd-numbered register.
.data
a: .double -1.5
.text
# Apply floor.w.d to an initialized value; inspect $f8: raw bits 0xFFFFFFFE.
l.d $f2, a
floor.w.d $f8, $f2