Question: Suppose we have a deeply pipelined processor, for which we implement a branch-target buffer for the conditional branches only. Assume that the misprediction penalty is

Suppose we have a deeply pipelined processor, for which we implement a branch-target buffer for the conditional branches only. Assume that the misprediction penalty is always six cycles and the buffer miss penalty is always five cycles. Assume a 60% hit rate, 70% accuracy, and 30% branch frequency. How much faster is the processor with the branch-target buffer versus a processor that has a fixed four-cycle branch penalty? Assume a base clock cycle per instruction (CPI) without branch stalls of one.

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!