Question: Q 2 . ( 3 0 points ) Given the code below and a pipelined CPU with no forwarding, how many hazards would there be
Q points Given the code below and a pipelined CPU with no forwarding, how many
hazards would there be What types are each hazard? Consider all possible hazards between
all instructions.
How many stalls would there need to be in order to fix the data hazards if the RegFile
supports doublepumping ie writethenread What about the control hazards if we use
branch prediction? Build the table again with your solution.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
