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 2013More-Realistic Branch Predictionn Static branch predictionn Based on typical branch behaviornExample: loop and if-statement branchesn Predict backward branches takenn Predict forward branches not takenn Dynamic branch predictionn Hardware measures actual branch behaviornne.g., record recent history of each branchAssume future behavior will continue the trendn When wrong, stall while re-fetching, and update historyCSE 420 <strong>Chapter</strong> 4 — The Processor — 47Pipeline SummaryThe BIG Picturen Pipelining improves performance byincreasing instruction throughputn Executes multiple instructions in paralleln Each instruction has the same latencyn Subject to hazardsn Structure, data, controln Instruction set design affectscomplexity of pipeline implementationCSE 420 <strong>Chapter</strong> 4 — The Processor — 48