14 在使用循序派發管線(in-order issue pipeline)的處理器中,假設管線由前而後依序為:指令取得 (instruction fetch)、指令解碼及派發(instruction decode and issue)、指令執行(execution)、資料 記憶體存取(data memory access)、資料寫回(write back),則下列三個指令要以何種順序重新排 程(schedule),才會最快且仍有正確的結果? ① lw $t0, 20 ($s2) #load a word from address ($s2+20) to register $t0 ② addu $t1, $t0, $t2 #$t1 = $t0 + $t2 ③ sub $s4, $s4, $t3 #s4 = $s4 - $s3
(A)①→②→③
(B)②→③→①
(C)③→②→①
(D)①→③→②

答案:登入後查看
統計: A(19), B(26), C(38), D(28), E(0) #1201525