為什麼這篇Load use Data hazard鄉民發文收入到精華區:因為在Load use Data hazard這個討論話題中,有許多相關的文章在討論,這篇最有參考價值!作者a613204 (胖胖)看板Grad-ProbAsk標題[理工] [計組] load use d...
Consider a MIPS machine with a 5-stage pipeline with a cycle time of 10ns.
Assume that you are executing a program where a fraction,f,of all instructions
immediately follow a load upon which they are dependent.
With forwarding enabled what is the total execution time for N instructions,
in terms of f?
這裡給的答案是[(5-1)+N+N*f]
覺得有點怪
不是兩個指令之間必須要暫停一個cycle嗎??
為什麼是N*f?? 不是N*f/2
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 123.0.42.10