Question: A computer has a branch target buffer, BTB. Derive an expression for the average branch penalty if the following apply. A branch not in

A computer has a branch target buffer, BTB. Derive an expression for the average branch penalty if the following apply. 

• A branch not in the BTB that is not taken incurs a penalty of O cycles. 

• A branch not in the BTB that is taken incurs a penalty of 6 cycles. 

• A branch in the BTB that is not taken incurs a penalty of 4 cycles. 

• A branch in the BTB that is taken incurs a penalty of O cycles. 

• The probability that a branch instruction is cached in the BTB is 80%. 

• The probability that an instruction not in the BTB is taken is 20%. 

• The probability that an instruction in the BTB is taken is 90%. 

Step by Step Solution

3.29 Rating (152 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

20 x 20 x 6 024 We have to add up pena... 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!