Question: Instruction Sequence sw $ 2 , 0 ( $ 1 0 ) add $ 2 , $ 3 , $ 4 add $ 5 ,

Instruction Sequence
sw $2,0($10)
add $2, $3, $4
add $5, $2, $10
add $6, $7, $3
lw $5,40($2)
add $8, $10, $5
addi $2, $2,4
add $2, $2, $4
add $2, $2, $5
1. Identify all read after write (RAW) data dependencies in the following sequence of instructions, when executed on the 5-stage pipelined MIPS implementation without forwarding.
2. Identify all data hazards in the following sequence of instructions, when executed on the 5-stage pipelined MIPS implementation without forwarding.
3. How many cycles are need to run this code when executed on the 5-stage pipelined MIPS implementation without forwarding?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!