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

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.  

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

Step by Step Solution

3.39 Rating (158 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The total number of possible outcomes of an instruction are Nonbranch c... View full answer

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 Computer Architecture Questions!