Question: This question considers the basic MIPS 5-stage pipeline (F, D, EX, M, WB). Show how the instructions in the sequence given below will proceed through
This question considers the basic MIPS 5-stage pipeline (F, D, EX, M, WB).
Show how the instructions in the sequence given below will proceed through the pipeline:
Predict the the beq instruction is not taken
When the beq instruction is executed, the value in $1 is equal to the value in $2
beq $1, $2, FINAL # i1
lw $10, 0($11) # i2
sub $14, $10, $10 # i3
FINAL: add $4, $1, $2 # i4
(For this problem, you may assume that there is full forwarding hardware support.)
|
|
|
| C. |
|
|
|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
