Question: Considers the basic, MIPS, 5-stage pipeline (F, D, EX, M, WB) and assume that there is full forwarding for all questions. [15 points] a. Assume
Considers the basic, MIPS, 5-stage pipeline (F, D, EX, M, WB) and assume that there is full forwarding for all questions. [15 points] a. Assume that you have the following sequence of pipelined instructions: lw $6, 0($7) add $8, $9, $10 sub $11, $6, $8 Where will the data operands that are processed during the EX stage of the subtract (sub) instruction come from? Draw a simple diagram to help support your answer. b. Show how the instructions in the sequence given below will proceed through the pipeline. You will predict that the beq instruction is not taken and when the beq instruction is executed, the value in $1 is equal to the value in $2. c. For the instruction mix above, on what instruction results does the last add instruction depend on?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
