作者bernachom (Terry)
看板Grad-ProbAsk
标题[问题] 计组-管线计算
时间Fri May 8 18:31:44 2009
请教一题计算
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
1F:推 ymsmart:当发生stall时的clock cycle 05/08 19:07
2F:→ bernachom:是因为题目没说明,所以预设为1吗? 05/08 19:11
3F:→ uminchu185:题目有说,英文第三行,if this hazard... 05/08 20:31
4F:→ bernachom:题目没看清楚...谢谢各位 05/08 20:37