I have this question which asks me to find the dependence types RAW, WAR, WAW, based on these instruction numbers, and I have the answer in the table, but I can't remember how to arrive at this answer. I want to know how to arrive at that table based on that list of 4 instructions I0, I1, I2, I3
List all of the dependence types RAW, WAR, WAW. List the dependencies in the respective table by writing the instruction numbers in the respective table
I0: r1 = r2 + r3
I1: r3 = r1 - r2
I2: r4 = r1 + r3
I3: r1 = r2 * r3
RAW Dependence WAR Dependence WAW Dependence
From Inst To Inst From Inst To Inst From Inst To Inst
I0 I1 I0 I1 I0 I1
I0 I2 I1 I3
I1 I2 I2 I3
I1 I3