lw r1,12(r7)
lw r2,16(r7)
add r1,r1,r2
sw r1,4(r5)
d. How many clock cycles with pipelining and bypassing (data isforwarded to next instruction as soon as is available)?
e. Draw the execution diagram for all approaches.
f. The CPI (cycles per instruction) is obtained by computing theratio of total cycles to number of instructions. Compute the CPIfor all approaches, and compute their rato to calculate theimprovement gained by the pipeline in each case.
Expert Answer
An answer will be send to you shortly. . . . .