APPENDICES
APPENDICES-14 M32R-FPU Software Manual (Rev.1.01)

Appendix Figure 3.2.5 Pipeline Flow with Stalls (3)

<Case 6> FPSR is accessed by an MVFC instruction after the FPU instruction is executed
<Case 7> The operation result of the FPU instruction is used by the subsequent instruction
IF D E1 WB
FADD R0,R1,R2
IF D WBE
E2
MVFC R3,FPSR
stall stall
IF D E1 WB
FADD R0,R1,R2
IF D E2 WBE1
E2
FADD R3,R0,R4
stall stall
IF D EM WB
FMADD R0,R1,R2
IF D E2 WBEA
EA E2
EM
FMADD R0,R3,R4
stall stall
IF D EM WB
FMADD R0,R1,R2
IF D E2 WBEA
EA E2
EM
FMADD R3,R0,R4
stall stall stall
<Case 5> The PSW is written by an MVTC, SETPSW, or CLRPSW instruction and
the subsequent instruction reads R15
IF D E WB
MVTC R1,PSW
IF D WBE
SUB R3,R15
stall
APPENDIX 3
Appendix 3 Pipeline Processing