看板 Grad-ProbAsk 關於我們 聯絡資訊
assume that the breakdown of dynamic instructions into various instruction categories is as follows: R-type 50%, beq 15%, jump 10%, lw 15%, sw 10% branch predictor accuracies: always-taken 40%, always not-taken 60%, 2-bit 80% some branch instructions are much more predictable tan others if we know that 80% of all executed branch instructions are easy-to-predict loop-back branches that are always predicted correctly, what is the accuracy of the 2-bit predictor on the remaining 20% of the branch instructions? let the total number of branch instructions executed in the program be B correctly predicted: B * 0.80 correctly predicted non-loop-back: B*0.00 請問黃字是為什麼? 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.228.27.235