Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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 +3

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2015 Porto Portugal September 7 11 2015 Proceedings Part 3 Lnai 9286

Authors: Albert Bifet ,Michael May ,Bianca Zadrozny ,Ricard Gavalda ,Dino Pedreschi ,Francesco Bonchi ,Jaime Cardoso ,Myra Spiliopoulou

1st Edition

3319234609, 978-3319234601

More Books

Students also viewed these Databases questions