[理工] [計組]尋找hazard
題目:
1 sll $t1,$s1,2 (1) if this mips cpu has no forwarding
2 add $t1,$s2,$t1 capacity , please indicate all harard
3 lw $s3,100($t1) and add nop instructions to eliminate
4 addi $s3,$s3,1 them.
5 add $zero,$s4,$s3
6 slt $t2,$s3,zero
7 bne $t2,zero,L2
題問:
解答在bne後面插了一個nop why?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.118.254.72
→
12/27 23:05, , 1F
12/27 23:05, 1F
→
12/29 00:05, , 2F
12/29 00:05, 2F