Question: Assume, the same instruction sequence given in Question 2. lw $t2, O($t0) lw $t1, 4($t0) add $t4, $t1,$t2 sw $t4, 12($t0) lw $t3, 8($t0) add

Assume, the same instruction sequence given in Question 2. lw $t2, O($t0) lw $t1, 4($t0) add $t4, $t1,$t2 sw $t4, 12($t0) lw $t3, 8($t0) add $t5, $t1,$t3 sw $t5, 16($t0) Show the pipeline stalls that occur (assume there is no forwarding). How many cycles does it take to execute the given instructions? You can use the following representation for the pipeline to simplify the depiction (this is for just illustration purpose). cc1 cc2 cc3 Cc4 cc5 CC6 cc7 cc8 cc9 (clock cycle) IF Instruction1 Instruction2 Instruction3 ID IF EX ID IF MEM WB EX MEM WB ID stall EX MEM WB
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
