Question: Assume a processor that employs a branch prediction whose prediction accuracy is 75%. When a branch is predicted correctly, there is no performance penalty. However,

Assume a processor that employs a branch prediction whose prediction accuracy is 75%. When a branch is predicted correctly, there is no performance penalty. However, when a branch is mispredicted, then there is 3 cycles of penalty. Assume that we want to run a program on this processor, that 25% of the all instructions are branch instructions. Considering the ideal CPI on this processor is 1 (when no hazard and stall occur), what will be the CPI for this program on the give processor
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
