Question: 7. A PShare predictor has 16 PHT entries and 4 BHT entries. Each PHT entry has two bits. Each BHT entry has a 2BC that

7. A PShare predictor has 16 PHT entries and 4 BHT entries. Each PHT entry has two bits. Each BHT entry has a 2BC that is initialized to SN. Assume the associated BTB gives perfect prediction for the target. The PShare predictor is accessed and updated only by branch instructions. The processor completes all the steps required to process an instruction in one step, including updating the predictor. Give the number of mispredictions for each branch instruction for the code from problem 7. Also, give the final state of the PHT and the BHT. (15)

7. A PShare predictor has 16 PHT entries and 4 BHT entries.

add $to, $s0, $0 add $t0, $t0, 20 outterLoop: add $a0, $s0, $0 add $t1, $0, $

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!