問題詳情

7. The following series of branch outcomes occurs for a single branch in a program. Tmeans the branch is taken; N means the branch is not taken.TTTNNTTTHow many instances of this branch instruction are mis-predicted with a 1-bit and 2-bit local branchpredictor, respectively? Assume the Branch History Table (BHT) are initialized to the N state. Youmay assume that this is the only one branch in this program.

參考答案