Assume that a RISC processor uses branch prediction to improve its performance. The following table gives the

Question:

Assume that a RISC processor uses branch prediction to improve its performance. The following table gives the number of cycles taken for predicted and actual branch outcomes. These figures include both the cycles taken by the branch itself and the branch penalty associated with branch instructions.

Prediction Not taken Taken Actual Not taken 1 2 Taken 4 1

If Pb is the probability that a particular instruction is a branch, pt is the probability that a branch is taken, and Pw is the probability of a wrong prediction, derive an expression for the average number of cycles per instruction, Tave· All non-branch instructions take one cycle to execute.  

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: