Chapter 4 Introduction
Chapter 4 Introduction
Chapter 4 Introduction
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Morgan Kaufmann Publishers 31 January 2013Data Hazards in ALU Instructionsn Consider this sequence:sub $2, $1,$3and $12,$2,$5or $13,$6,$2add $14,$2,$2sw $15,100($2)n We can resolve hazards with forwardingn How do we detect when to forward?§4.7 Data Hazards: Forwarding vs. StallingCSE 420 <strong>Chapter</strong> 4 — The Processor — 67Dependencies & ForwardingBlue lines show the problem;Red lines represent forwardingCSE 420 <strong>Chapter</strong> 4 — The Processor — 68