Question: 7 . Consider a system A which needs to execute the following sequence of instructions: lw $t 1 , 0 ( $t 2 ) sw
Consider a system A which needs to execute the following sequence of instructions:
lw $t$t
sw $t$t
lw $t$t
addi $t $t
add $t $t $
or $t $t $t
sw $t$t
a Assume stage pipelining and no forwarding mechanism. If each stage takes
clock cycle to complete, calculate with execution time in cycles for the
completion of whole program. Determine how many times the processor stalls
and how long is each stalls in terms of clock cycles
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
