What is the best way to move a floating value from one register to another?
If I was working with integer and wanted to move the contents of $t0 to $t1 I would simply do
add $t1, $t0, $zero
If I want to do the same thing with
floting numbers I’m currently doing it like this
sub.s $f1, $f0, $f0
add.s $f1, $f0, $f1
Is there any better way to do this? And if someone knows there to find a good referencecard for mips WITH the floating point instructions pleas tell me.
There’s a register-register move instruction for this: