Question: . Look for data hazards in the code below. State why one of them cannot be solved with forwarding. What can we do to solve

. Look for data hazards in the code below. State why one of them cannot be solved with
forwarding. What can we do to solve this hazard?
Instruction CC1 CC2 CC3 CC4 CC5 CC6 CC7 CC8
addi x9, x9,1 IF ID EX MEM WB
addi x5, x5,4 IF ID EX MEM WB
ld x6,0(x5) IF ID EX MEM WB
add x7, x6, x28 IF ID EX MEM WB

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!