[理工] 台大100記系

看板Grad-ProbAsk作者 (萬能史哥)時間7年前 (2019/01/21 09:36), 編輯推噓1(102)
留言3則, 1人參與, 7年前最新討論串1/1
請問一下 這題我有點不懂 附上題目和解答 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://www.ptt.cc/bbs/Grad-ProbAsk/M.1548034599.A.0FF.html

01/21 16:26, 7年前 , 1F
因為你全部比例加起來剩90% 要等比例除掉
01/21 16:26, 1F

01/21 16:28, 7年前 , 2F
有用到呀解答上不都寫了
01/21 16:28, 2F

01/21 16:30, 7年前 , 3F
0.9IC就是扣掉10%的lw
01/21 16:30, 3F
文章代碼(AID): #1SHI8d3_ (Grad-ProbAsk)