POOL32F 010101 |
ft |
fs |
fd |
0 |
fmt |
DIV 11110000 |
6 |
5 |
5 |
5 |
1 |
2 |
8 |
DIV.fmt |
Floating Point Divide | |
DIV.S fd, fs, ft |
microMIPS |
Floating Point Divide |
DIV.D fd, fs, ft |
microMIPS |
Floating Point Divide |
Floating Point Divide
To divide FP values.
FPR[fd] = FPR[fs] / FPR[ft]
The value in FPR fs is divided by the value in FPR ft. The result is calculated to infinite precision, rounded according to the current rounding mode in FCSR, and placed into FPR fd. The operands and result are values in format fmt.
The fields fs, ft, and fd must specify FPRs valid for operands of type fmt. If the fields are not valid, the result is
UNPREDICABLE.
The operands must be values in format fmt; if they are not, the result is UNPREDICTABLE and the value of the operand FPRs becomes UNPREDICTABLE.
StoreFPR (fd, fmt, ValueFPR(fs, fmt) / ValueFPR(ft, fmt))
Coprocessor Unusable, Reserved Instruction
Inexact, Invalid Operation, Unimplemented Operation, Division-by-zero, Overflow, Underflow