Question: Assume that we are executing on a pipeline with data forwarding and no branch prediction. Control hazards are handled by delayed branching, as discussed in
Assume that we are executing on a pipeline with data forwarding and no branch prediction. Control hazards are handled by delayed branching, as discussed in class. Loaduse data hazards where the load is used by the ALU are handled by relying on the compiler to insert a nop after the load. All other data hazards, including a load used by some other stage of the pipeline, are handled either by forwarding or by the CPU automatically stalling when needed, if forwarding can't resolve the hazard.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
