Question: RISC V A pipeline having 1 2 stages executes a program having 3 0 0 0 instructions. Branch operations are 2 0 % of the

RISC V A pipeline having 12 stages executes a program having 3000 instructions.
Branch operations are 20% of the total number of instructions, and 60% of the branches are
taken. The penalty for each taken branch is 5 cycles. Furthermore 30% of the instructions
are load operations of which 40% incur a load-use data hazard (which can not be resolved by
forwarding) and results in 1 stall cycle.
Assume that a branch prediction unit is introduced to improve the average CPI. What
accuracy of the branch prediction unit will improve the average CPI to 1.5.
 RISC V A pipeline having 12 stages executes a program having

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!