You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.data
n1: .double 9.13
n2: .double 6.58
res1: .double 0.0
res2: .double 0.0
.code
l.d f1, n1(r0)
l.d f2, n2(r0)
add.d f3, f2, f1
mul.d f1, f2, f1
mul.d f4, f2, f1
s.d f3, res1(r0)
s.d f4, res2(r0)
halt
Results in the instruction s.d f4, res2(r0) having 4 RAWs in ID, and 5 RAWs in EX. If The f4 operand is needed on MEM stage, all the RAWs should be on EX. There seems to be a relation between the RAWs of the mul.d f4,f2,f1 instruction and the RAWs on ID stage.
Or am I wrong?
The text was updated successfully, but these errors were encountered:
Running this program with forwarding
Results in the instruction s.d f4, res2(r0) having 4 RAWs in ID, and 5 RAWs in EX. If The f4 operand is needed on MEM stage, all the RAWs should be on EX. There seems to be a relation between the RAWs of the mul.d f4,f2,f1 instruction and the RAWs on ID stage.
Or am I wrong?
The text was updated successfully, but these errors were encountered: