→ feabries:0.2 * 1 -> 0.02 * 1 這樣吧@@ 11/03 13:27
for a pipeline impelementation,assume that one-quarter of the
load instructions are immediately followed by an instruction
that uses the result ,
that the branch delay on misprediction is
1 clock cycle, and that half of the branches are mispredicted.
Assume that jumps always pay 1 full clock cycle of delay,
so their average time is 2 clock cycles.
If the instruction mix is
25% loads,10% stories,52% ALU instructions,11% branches,2% jumps.
Calculate the average CPI.
(95元智 資工) ---張凡-p.136
------------------------------------
Answer:
CPI = 1 + (0.25 * 0.25 * 1 + 0.11 * 0.5 + 0.2 * 1) = 1.1375
以上 不太懂題目的意思 跟 解答說明
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.134.193.60