Question: 3 Given below is a set of instructions being executed in a MIPS pipeline. Write down if INSTRUCTION, r = (n%4)+1, encounters any hazard
3 Given below is a set of instructions being executed in a MIPS pipeline. Write down if INSTRUCTION, r = (n%4)+1, encounters any hazard or not with explanation. Then, discuss how that hazard can be resolved in the most efficient manner. Your answer should include pipeline diagrams. INSTRUCTION 0 add $11, $12, $13 5 1 sub $12, $t1, $13 2 sw $11, 4 (SSO) 3 lw St3, 12 ($12) 4 xor St5, $t4, $13
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
