申論題內容
7. The following series of branch outcomes occurs for a single branch in a program. T
means the branch is taken; N means the branch is not taken.
TTTNNTTT
How many instances of this branch instruction are mis-predicted with a 1-bit and 2-bit local branch
predictor, respectively? Assume the Branch History Table (BHT) are initialized to the N state. You
may assume that this is the only one branch in this program.