





















































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!






















































Recap - Lecture 11- 12 Out-of-Order Execution Dynamic Scheduling Scoreboard Technique Summary
WAW hazard (The j th instruction writes prior to the i th instruction; the i th instruction overwrites the result of j th instruction)
Two ways to resolve WAW hazard
Simple Pipelined datapath facilitates only the In-order instruction execution, i.e., Instructions are fetched, decoded and issued in
no later instruction can proceed if an instruction is stalled due to hazard – structural or data dependence
In-order Execution … Cont’d For example: in the code DIV.D F0, F2, F ADD.D F10, F0, F SUB.D F12, F8, F
In-order Execution: MIPS 5-stage Pipeline The MIPS 5-stage pipeline, both the structural and data hazards are checked during the Instruction Decode (ID) stage; and the instruction is issued from ID stage, if it could execute properly Here, the issue process, at ID stage, is separated into two parts: Checking the structural hazard Waiting for the absence of data hazard
Out-of-order Execution: MIPS 5-stage pipeline DIV.D F0, F2, F ADD.D F10, F0, F SUB.D F12, F8, F
Basic Problems of Out-of-order Execution Consider the example FP code DIV.D F0, F2, F ADD.D F6, F0, F SUB.D F8, F10, F MUL.D F6, F10, F
Out-of-Order Execution Problems of Out-of-order execution Dynamic Scheduling Scoreboard Technique Summary
Dynamic Scheduling
Dynamic Scheduling