阿摩線上測驗 登入

申論題資訊

試卷:110年 - 110台灣聯合大學系統_碩士班招生考試_電機類:計算機系統(計算機組織)#104945
科目:研究所、轉學考(插大)、學士後-計算機概論
年份:110年
排序:0

題組內容

1. (10%) The importance of having a good branch predictor depends on how often conditional branches are executed. Together with branch predictor accuracy, this will determine how much time is spent stalling due to mispredicted branches. In this problem, assume a 5-stage pipeline RISC processor with the breakdown of dynamic instructions into various instruction categories is as follows
61bad299bc167.jpg
Also, assume the following branch predictor accuracies:
61bad2c6df906.jpg

申論題內容

(e)(2%) Some branch instructions are much more predictable than 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?