Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Q3: Identify and remove the data dependencies in the following Pipelined MIPs code and remove it (IF EXIST) (4+4) a) With Forwarding b) Without Forwarding
Q3: Identify and remove the data dependencies in the following Pipelined MIPs code and remove it (IF EXIST) (4+4) a) With Forwarding b) Without Forwarding for2tst: addi slti bne sll add lw Iw slt beq lw add j $s1, $s0,- 1 $t0, $s1,0 $t0,$zero, Exit2 $t0,$s 1, 2 $t0, $a0,$t1 $t3, 0($t2) $14, 4($t2) $t0,$t4, $t3 $t0, Szero, exit2 $12, 8($t0) $81, $s1, $t2 for2tst Exit 2: s11 j $81, $s1, 2 Exit Exist: Note: Assume $s0=5 initially Q3: Identify and remove the data dependencies in the following Pipelined MIPs code and remove it (IF EXIST) (4+4) a) With Forwarding b) Without Forwarding for2tst: addi slti bne sll add lw Iw slt beq lw add j $s1, $s0,- 1 $t0, $s1,0 $t0,$zero, Exit2 $t0,$s 1, 2 $t0, $a0,$t1 $t3, 0($t2) $14, 4($t2) $t0,$t4, $t3 $t0, Szero, exit2 $12, 8($t0) $81, $s1, $t2 for2tst Exit 2: s11 j $81, $s1, 2 Exit Exist: Note: Assume $s0=5 initially
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started