1 / 6

Quiz

Quiz. Identify the dependencies. $s0 – lw -> sw RAW. lw $ s0 , 0($t0) sw $ s 0 , 100($t2) sub $s1 , $s2, $s3 add $ s0 , $s1 , $s3. $s1 – sub -> addRAW. $s0 – lw -> add WAW. $s0 – sw -> add WAR. Quiz. lw $s0, 0($t0). IF. ID. MEM. WB. sw $s0, 100($t2). IF. ID. MEM.

naida-good
Download Presentation

Quiz

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

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

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

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

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

  6. Group Work add $t0, $s1, $s2 F1 F2 D X1 X2 M1 M2 W F1 Lw $t1, 4 ($t0) F2 D D X1 X2 M1 M2 W F1 sub $t2, $s1, $s5 F2 F2 D X1 X2 M1 M2 W F1 F2 D add $t2, $t2, $t1 F1 D D X1 X2 M1 M2 W 1 2 3 4 5 6 7 8 9 10 11

More Related