Question: Consider a 5 - stage integer pipeline with forwarding. Assume the branch penalty is 1 cycle ( branch condition computed in ID ) . Now

Consider a 5-stage integer pipeline with forwarding. Assume the branch penalty is 1 cycle (branch condition computed in ID). Now assume we have pipelined the memory system to three stages (rather than 1 stage) for both instruction fetch and data fetch. Branches are resolved at the end of the EX stage. We use a static branch-taken prediction strategy, i.e., if branches are not-taken we incur the branch penalty. Assume conditional branches occur with a frequency of 25%. If branches are taken 35% of the time, what is the increase in CPI due to this prediction strategy?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!