Question: 4 . You are given the following program: I 0 : LW X 5 , 8 ( X 6 ) I 1 : ADD X

4. You are given the following program: I0: LW X5,8(X6) I1: ADD X6, X7, X5 I2: ADD X7, X5, X8 I3: LW X4,16(X7) I4: ADDI X8, X4,32 I5: SW X8,0(X9) a.(5 points) Draw the data dependency graph. b.(20 points) Plot the pipelined execution of the above program, making sure to avoid structural and data hazards

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!