Question: Please use book: Computer Organization and Design: The Hardware/. Software Interface, Fifth Edition. As a reference 4. Draw the MIPS (5-stage) pipeline for the following
4. Draw the MIPS (5-stage) pipeline for the following segment of instructions: lw 1,0($to) $t2, 4($to) add $t3, $t1, $t2 sw $13, 12($to) $t4, 8 ($to) add $t5, $t1, $t4 sw $t5, 16 ($to) a. [10 points] Show the pipeline in details. How many clock cycles does this code take? b. [10 points] Can the performance of this code be improved? Justify your answer by drawing the pipeline showing your improvement
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
