Appendices, Appendix 3, Appendices-14 – Renesas M32R-FPU User Manual

Page 172: Fpsr, Appendix 3 pipeline processing

Advertising
background image

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

WB

E

E2

MVFC R3,

FPSR

stall

stall

IF

D

E1

WB

FADD

R0

,R1,R2

IF

D

E2

WB

E1

E2

FADD R3,

R0

,R4

stall

stall

IF

D

EM

WB

FMADD

R0

,R1,R2

IF

D

E2

WB

EA

EA

E2

EM

FMADD

R0

,R3,R4

stall

stall

IF

D

EM

WB

FMADD

R0

,R1,R2

IF

D

E2

WB

EA

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

WB

E

SUB R3,

R15

stall

APPENDIX 3

Appendix 3 Pipeline Processing

Advertising