Question: Consider the following instruction sequence for a 5-stage pipelined MIPS implementation 11: 12: 13: 14: 15: addi $s1, $50, 40 lw $s2, 0 ($s1)
Consider the following instruction sequence for a 5-stage pipelined MIPS implementation 11: 12: 13: 14: 15: addi $s1, $50, 40 lw $s2, 0 ($s1) add $s3, $s2, $s1 add $54, $s3, $50 add $54, $s2, $s4 Assuming that the initial values of $50, $s1, $s2, $s3, and $s4 are 100, 200, 300, 15, and 30 respectively, and that memory locations 140 and 200 co values 60 and 90 respectively. Now consider the hazards and assume there is only ALU-ALU forwarding. What will be the final value of $s3?
Step by Step Solution
There are 3 Steps involved in it
The question presents an instruction sequence for a 5stage pipelined MIPS processor and asks us to consider the hazards with the assumption that only ALUALU forwarding is available We are asked to det... View full answer
Get step-by-step solutions from verified subject matter experts
