Presentation is loading. Please wait.

Presentation is loading. Please wait.

Quiz $s0 – lw -> sw RAW $s1 – sub -> addRAW $s0 – lw -> add WAW $s0 – sw -> add WAR Identify the dependencies lw $s0, 0($t0) sw $s0, 100($t2) sub $s1,

Similar presentations


Presentation on theme: "Quiz $s0 – lw -> sw RAW $s1 – sub -> addRAW $s0 – lw -> add WAW $s0 – sw -> add WAR Identify the dependencies lw $s0, 0($t0) sw $s0, 100($t2) sub $s1,"— Presentation transcript:

1 Quiz $s0 – lw -> sw RAW $s1 – sub -> addRAW $s0 – lw -> add WAW $s0 – sw -> add WAR Identify the dependencies lw $s0, 0($t0) sw $s0, 100($t2) sub $s1, $s2, $s3 add $s0, $s1, $s3

2 Time-> IF ID IF ID MEM 1 2 3 4 5 6 7 8 MEM WB Quiz IF ID MEMWB lw $s0, 0($t0) IF ID MEMWB sw $s0, 100($t2) sub $s1, $s2, $s3 add $s0, $s1, $s3

3 Quiz $s1 – lw -> add RAW $s1 – add -> sub RAW $s1 – lw -> add WAW $s3 – add -> sub WAR Identify the dependencies lw $s1, 0($t0) add $s1, $s1, $s3 sub $s3, $s1, $s4 bne $s3, $s4, label $s3 –sub -> bne RAW

4 Time-> IF ID IF ID 1 2 3 4 5 6 7 8 MEM WB Quiz IF ID MEMWB lw $s1, 0($t0) IF ID MEMWB sub $s3, $s1, $s4 bne $s3, $s4, label add $s1, $s1, $s3 MEM D F F

5 Group Work add $t0, $s1, $s2 sub $t2, $s1, $s5 Lw $t1, 4 ($t0) add $t2, $t2, $t1 $t0 - RAW $t1 - RAW $t2 - RAW $t2 - WAW Identify the dependencies

6 Group Work 1 2 3 4 5 6 7 8 9 10 11 add $t0, $s1, $s2 sub $t2, $s1, $s5 Lw $t1, 4 ($t0) add $t2, $t2, $t1 F1 F2DX1X2M1M2W F1 F2DX1X2M1M2W F1 F2DX1X2M1M2W F1F2D X1X2M1M2W D F2F2 F1F1 DD


Download ppt "Quiz $s0 – lw -> sw RAW $s1 – sub -> addRAW $s0 – lw -> add WAW $s0 – sw -> add WAR Identify the dependencies lw $s0, 0($t0) sw $s0, 100($t2) sub $s1,"

Similar presentations


Ads by Google