[問題] 計組-管線計算

看板Grad-ProbAsk作者 (Terry)時間17年前 (2009/05/08 18:31), 編輯推噓1(103)
留言4則, 3人參與, 最新討論串1/1
請教一題計算 Suppose that 20% of the instruction are loads, and half of the time the instruction following a load insruction depends on the result of the lod. If this hazard creates a single-cycle delay, how much faster is an idea pipelined machine (with CPI of 2) that does not delay the pipeline, compard to this realistic pipeline that may create a single- cycle load stall delay?(Ignore any stalls other than load stalls) 書上寫: cpi=2+ 20% *50% *1 =2.1 perfect pipeline machine 快了 2.1/2=1.05 請教一下,cpi第一個式子,那個*1 是在乘什麼呢? 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.228.97.36

05/08 19:07, , 1F
當發生stall時的clock cycle
05/08 19:07, 1F

05/08 19:11, , 2F
是因為題目沒說明,所以預設為1嗎?
05/08 19:11, 2F

05/08 20:31, , 3F
題目有說,英文第三行,if this hazard...
05/08 20:31, 3F

05/08 20:37, , 4F
題目沒看清楚...謝謝各位
05/08 20:37, 4F
文章代碼(AID): #1A10eHds (Grad-ProbAsk)