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

Page 171: Appendix 3 pipeline processing

Advertising
background image

APPENDICES

APPENDICES-13

M32R-FPU Software Manual (Rev.1.01)

Appendix Figure 3.2.4 Pipeline Flow with Stalls (2)

<Case 3> A branch instruction is executed (except for the case in which no branch occurs

at a conditional branch instruction)

IF

D

E

WB

Branch Instruction

IF

D

WB

E

IF

D

WB

E

stall

stall

stall

IF

D

WB

E

stall

IF

D

Bypass process

branch instruction is executed

stall

stall

<Case 4> The subsequent instruction uses an operand read from the memory

IF

D

E

WB

LD

R1

,@R2

IF

D

WB

MEM2

MEM1

ADD R3,

R1

stall

stall

IF

Bypass process

IF

D

E

WB

LD

R1

,@R2

IF

D

WB

MEM2

MEM1

IF

D

E

ADD R4,R5

WB

ADD R3,

R1

stall

Bypass process

IF

D

E

WB

LD

R1

,@R2

IF

EM

D

E2

WB

EA

MEM2

MEM1

IF

D

E

ADD R4,R5

WB

FMADD

R1

,R6,R7

Bypass process

IF

D

E

WB

LD

R1

,@R2

IF

D

WB

E

MEM2

MEM1

IF

D

E

ADD R4,R5

WB

IF

D

E

ADD R6,R7

WB

ADD R3,

R1

E

E

APPENDIX 3

Appendix 3 Pipeline Processing

Advertising