計算機組織與結構›Ch5 管線化(Pipeline)
第 15 題/共 58 題
◀ CC 15/58
15. Branch Misprediction、CPI、Pipeline
#CC-05-015中Branch MispredictionCPIPipeline

Consider a pipeline CPU with five stages: IF, ID, EX, MEM, WB. Stall cycles due to mis-predicted branches increase the CPI of pipeline. Given a code sequence with instruction mix as: R-type: 50%, beq: 25%, lw & sw: 25%. Assume branch prediction accuracy is 20% and there are no data hazards and cache misses. It is clear that the system suffers from extra CPIs due to mis-predicted branches. Which of the following statements about the extra CPI are correct?

📄 交大114
跳轉到第題
▤完整推導請見《WH 資工筆記 · 計算機組織與結構》Ch5 管線化(Pipeline)
本章題號 · 1–20 / 58