22 lines
590 B
Plaintext
22 lines
590 B
Plaintext
1111nnn0mmm00011
|
|
Available only when PR=1 and SZ=0
|
|
sr ← ZeroExtend32(SR);
|
|
fps ← ZeroExtend32(FPSCR);
|
|
op1 ← FloatValue64(DR2m);
|
|
op2 ← FloatValue64(DR2n);
|
|
IF (FpuIsDisabled(sr) AND IsDelaySlot())
|
|
THROW SLOTFPUDIS;
|
|
IF (FpuIsDisabled(sr))
|
|
THROW FPUDIS;
|
|
op2, fps ← FDIV_D(op2, op1, fps);
|
|
IF (FpuEnableV(fps) AND FpuCauseV(fps))
|
|
THROW FPUEXC, fps;
|
|
IF (FpuEnableZ(fps) AND FpuCauseZ(fps))
|
|
THROW FPUEXC, fps;
|
|
IF (FpuCauseE(fps))
|
|
THROW FPUEXC, fps;
|
|
IF ((FpuEnableI(fps) OR FpuEnableO(fps)) OR FpuEnableU(fps))
|
|
THROW FPUEXC, fps;
|
|
DR2n ← FloatRegister64(op2);
|
|
FPSCR ← ZeroExtend32(fps);
|