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 2013Branch Hazardsn If branch outcome determined in MEM§4.8 Control HazardsFlush theseinstructions(Set controlvalues to 0)PCCSE 420 <strong>Chapter</strong> 4 — The Processor — 83Reducing Branch Delayn Move hardware to determine outcome to IDstagennTarget address adderRegister comparatorn Example: branch taken36: sub $10, $4, $840: beq $1, $3, 744: and $12, $2, $548: or $13, $2, $652: add $14, $4, $256: slt $15, $6, $7...72: lw $4, 50($7)CSE 420 <strong>Chapter</strong> 4 — The Processor — 84