Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Computer Architecture question Question 1: Pipelining - Control Hazards ( 20 points) Assume that we have a 5-stage pipeline that has no particular branch prediction
Computer Architecture question
Question 1: Pipelining - Control Hazards ( 20 points) Assume that we have a 5-stage pipeline that has no particular branch prediction mechansim employed. Thus, when we have a branch instruction, we insert pipeline bubbles until the branch outcome is known. For this question, we assume that the branch outcome is known at the end of third pipeline stage (i.e., EX). a) Below is an affect of taken branch on the pipeline. Please, explain what is happening in the pipeline. Why do we see that inst +1 stalls at cycle 3 , and there is a another IF at cycle 4 for inst +1 ? What is happening for inst +2 and inst +3 ? b) Below is an affect of not-taken branch on the pipeline. Please, explain what is happening in the pipeline. Why don't we see the behaivor that we saw inst +1 in taken branch scenario? Why does inst +1 stall at cycle 3 , and continue with ID stage at cycle 4 ? What is happening for inst +2 and inst +3Step 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