






















































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!























































































Instruction Cycle State Diagram
Appendix A - Pipelining 4 What Is Pipelining
Appendix A - Pipelining 5 What Is Pipelining
6 PM 7 8 9 10 11 Midnight T a s k O r d e r Time
Chapter 4 — The Processor — 7 Pipelining Analogy
Non-stop:
Appendix A - Pipelining 8 Pipelining Lessons
T a s k O r d e r Time 30 40 40 40 40 20 What Is Pipelining
Pipeline
Branch Not Taken Branch Not taken Continue with next instruction as usual
Alternative Pipeline Depiction
Pipelining Hazards
Structural Hazards
Pipelined Example - Executing Multiple Instructions
Alternative View - Multicycle Diagram lw $r0, 10($r1)^ IM^ REG^ ALU^ DM^ REG sw $r3, 20($r4) add $r5, $r6, $r CC 1 CC 2 CC 3 CC 4 CC 5 CC 6 CC 7 IM REG ALU DM REG IM REG ALU DM REG sub $r8, $r9, $r10 (^) IM REG ALU DM REG CC 8 Memory Conflict
One Memory Port Structural Hazards
Ifetch Reg ALU DMem Reg Ifetch Reg ALU DMem Reg Ifetch Reg ALU DMem Reg Cycle 1 Cycle 2 Cycle 3 Cycle 4 Cycle 5 Cycle 6 Cycle 7 Ifetch Reg ALU DMem Reg Bubble Bubble Bubble Bubble Bubble