19 lines
498 B
Plaintext
19 lines
498 B
Plaintext
1111mmm010111101
|
|
Available only when PR=1 and SZ=0
|
|
sr ← ZeroExtend32(SR);
|
|
fps ← ZeroExtend32(FPSCR);
|
|
op1 ← FloatValue64(DR2m);
|
|
IF (FpuIsDisabled(sr) AND IsDelaySlot())
|
|
THROW SLOTFPUDIS;
|
|
IF (FpuIsDisabled(sr))
|
|
THROW FPUDIS;
|
|
fpul, fps ← FCNV_DS(op1, fps);
|
|
IF (FpuEnableV(fps) AND FpuCauseV(fps))
|
|
THROW FPUEXC, fps;
|
|
IF (FpuCauseE(fps))
|
|
THROW FPUEXC, fps;
|
|
IF ((FpuEnableI(fps) OR FpuEnableO(fps)) OR FpuEnableU(fps))
|
|
THROW FPUEXC, fps;
|
|
FPSCR ← ZeroExtend32(fps);
|
|
FPUL ← ZeroExtend32(fpul);
|