作者kaidi620 (万能史哥)
看板Grad-ProbAsk
标题[理工] 台大100记系
时间Mon Jan 21 09:36:36 2019
请问一下 这题我有点不懂 附上题目和解答
https://i.imgur.com/ZXYz4sX.jpg
https://imgur.com/kOyvL2F
那题目有一句 with this new addressing mode,there would be 5%
increase in cycle time and the CPI of the ALU instruction type becomes 2.
这题都不会用到的意思吗
然後(A) 就是当作mutilcycle 的方式去算吗
然後最不解的还是(C)
不懂 CPU(new) =(0.4x2(ALU) + 0.1x3(LOAD) +0.2x3(store)+0.2x2(bracnh)/0.9
LOAD的一半可以转换成新指令 但是这样只有算到ALU而以耶 ( 0.4*2的部分)
而且 为什麽要除以0.9 ,0.9又是什麽?
然後下面 exection time 又有0.9IC 这又是怎麽来的?
感恩大大 谢谢大大
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 163.13.17.107
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Grad-ProbAsk/M.1548034599.A.0FF.html
1F:→ j92415: 因为你全部比例加起来剩90% 要等比例除掉 01/21 16:26
2F:→ j92415: 有用到呀解答上不都写了 01/21 16:28
3F:推 j92415: 0.9IC就是扣掉10%的lw 01/21 16:30