Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Say we had the following code sequence: or $rl, $r2, $r3 or $r2, $r1, $r4 or $r1, $r1, $r2 a) Assuming the register file has
Say we had the following code sequence: or $rl, $r2, $r3 or $r2, $r1, $r4 or $r1, $r1, $r2 a) Assuming the register file has bypass capability (meaning a value can be read in the ID stage when a previous instruction is writing that value in the WB stage), but there is no forwarding support, and no support for stalling. How many nop's would need to be inserted in this code to get it to execute correctly? b) What if there were only partial forwarding support, specifically only from the output of the ALU back to the input of the ALU? Would this code still need any nop's for proper execution? If so, where and why
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started