Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Q 4 : Assume that x 1 1 is initialized to 1 1 and x 1 2 is initialized to 2 2 . Suppose you
Q: Assume that is initialized to and is initialized to Suppose you executed the code below on a version of the pipeline that does not handle data hazards ie the programmer is responsible for addressing data hazards by inserting NOP instructions where necessary What would the final values of register be Assume the register file is written at the beginning of the cycle and read at the end of a cycle. Therefore, an ID stage will return the results of a WB state occurring during the same cycle See following Figure for details.
addi
add
addi
add
wion of regisler
I
Q Add NOP instructions to the code below so that it will run correctly on a pipeline that does not handle data hazards. addi
add
addi
add
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