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.
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:
Related Book For
Computer Organization And Architecture Themes And Variations
ISBN: 9781111987046
1st Edition
Authors: Alan Clements
Question Posted: