Question: Consider achieving the best performance for the following instructions: 1 Add R 4 , R 2 , R 3 2 . SW R 5 ,

Consider achieving the best performance for the following instructions:
1 Add R4, R2, R3
2. SW R5, #100(R4)
3. LW R6, #200(R4)
4. Sub R7, R5, R6
the data hazard between 3 and 4 are solved by:
Select one:
a. forwarding from mem in 3 to ex in 4 then stall
b. stall and forwarding from mem in 3 to ex in 4
c. forwarding from mem in 3 to mem in 4
d. stall and forwarding from Ex in 3 to ex in 4
e. stall only

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 Databases Questions!