Which of the following statements are true about the assumption and definition of branch prediction?
(A) Data that is being operated on has regularities.
(B) Underlying algorithm has regularities.
(C) Static branch prediction usually outperforms dynamic branch prediction.
(D) The hypothesis of correlating branches is that the behavior of other branch instructions do not affect the prediction of current branch.
(E) In general, an \((m,n)\) correlating predictor records the last \(m\) branches to select between \(m\) history tables each with \(n\)-bit counters.
(A)(B) 預測能成功是因為資料與演算法的分支行為有規律(loop、固定比例) → T
(C) dynamic 用歷史、準確率通常較高 → F
(D) correlating 的假設正好相反:其他 branch 的結果會影響目前這個 branch → F
(E) \((m,n)\) predictor 用最近 \(m\) 個 branch 的結果在 \(2^m\) 個 history table 中選一個,每個 table 是 \(n\)-bit counter;不是 \(m\) 個 → F
(A), (B)