Topic11c - Hazards

Topic11c - Hazards - Computer Architecture Hazards Reading:...

Info iconThis preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
Computer  Architecture Hazards Reading:  Sections 4.7- 4.8
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
A Glance at the Schedule What's coming in… M2 –Tomorrow Hw5 - Thursday What’s going out…
Background image of page 2
Outline Hazards Data Control Structural Hazard detection Hazard prevention
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Riches don't make a man rich, they only make  him busier.  --Christopher Columbus 
Background image of page 4
Data Hazards in ALU Instructions Consider this sequence: sub  $2 , $1,$3 and $12, $2 ,$5 or  $13,$6, $2 add $14, $2 , $2 sw  $15,100( $2 )
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Dependencies CAT #1
Background image of page 6
Detecting the Need to  Forward Pass register numbers along pipeline e.g., ID/EX.RegisterRs = register number for  Rs sitting in ID/EX pipeline register ALU operand register numbers in EX  stage are given by ID/EX.RegisterRs, ID/EX.RegisterRt Data hazards when 1a.  EX/MEM.RegisterRd = ID/EX.RegisterRs 1b.  EX/MEM.RegisterRd = ID/EX.RegisterRt Fwd from EX/MEM pipeline reg Fwd from MEM/WB pipeline reg
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Forward
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 25

Topic11c - Hazards - Computer Architecture Hazards Reading:...

This preview shows document pages 1 - 9. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online