阿摩線上測驗 登入

申論題資訊

試卷:106年 - 106 國立中山大學_碩士班招生考試_電機系(己組):計算機結構#108290
科目:中山◆電機◆計算機結構
年份:106年
排序:0

題組內容

[Problem 5] (20%) Use the following code fragment: 
Loop:62a2e9aa75ede.jpg
Assume the initial value of R3 is R2+100. Use the five-stage instruction pipeline ( IF, DEC, EXE, MEM, WB) and assume all memory accesses are one cycle operation. Furthermore, branches are resolved in MEM stage.

申論題內容

(a) (10%) Show the timing of this instruction sequence for the five-stage instruction pipeline with normal forwarding and bypassing hardware. Assume that branch is handled by predicting it has not taken. How many eycles does this loop take to execute?