[理工] [計組] 97中山資工

看板Grad-ProbAsk作者 (Drinking)時間14年前 (2011/09/17 23:20), 編輯推噓1(105)
留言6則, 2人參與, 最新討論串1/1
Modified version of Processor B,a new instruction Ix is invented to replace instructions Iy and Iz whenever Iy and Iz appear in sequence.However,this modification reduces clock rate to 450 MHz,while the CPI is not affected. Assume that in the program given in Problem4.1,there are 200 million Iy instructions followed by Iz.What is the execution time if the program is executed in the new processor?Does the modification improve performance? 我想問的是new instruction count為什麼是4-0.2 = 3.8 謝謝!! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.37.129.190

09/18 00:40, , 1F
因為一開始題目給ProcessB的IC為4billion
09/18 00:40, 1F

09/18 00:42, , 2F
而Ix可以取代取代Iy跟Iz指令...
09/18 00:42, 2F

09/18 00:43, , 3F
所以4000*10^6-200*10^6=3800*10^6.....其中指令被壓縮
09/18 00:43, 3F

09/18 00:44, , 4F
所以才減200*10^6
09/18 00:44, 4F

09/18 08:01, , 5F
Iy instructions followed by Iz我不太懂這句表達的意思
09/18 08:01, 5F

09/18 08:03, , 6F
如果只是取代的話,我知道意思.只是上面那句搞亂我了..
09/18 08:03, 6F
文章代碼(AID): #1ETBgj_k (Grad-ProbAsk)