Question: 2. Optimize the following MIPS code, so that there presents no data hazard. Assume the system has forwarding enabled. Now, find out the total execution

2. Optimize the following MIPS code, so that there presents no data hazard. Assume the system has forwarding enabled. Now, find out the total execution time with timing diagram for the given table using pipeline method. Stage IF ID EX MEM WB Time(ps) 200 100 250 200 100 For the below given MIPS code assume all the branch instructions are true. 2000: lw $t1, 20($t1) 2004: beq $s2, $s1, 2012 2008: j 2016 2012: bne $t0, $$1,2008 2016: sub $t2, $50, $t3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
