Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Recall the 10-stage pipeline we studied as an example earlier in lecture. The target address of branches and jumps is ready at the end of

image text in transcribedimage text in transcribed

Recall the 10-stage pipeline we studied as an example earlier in lecture. The target address of branches and jumps is ready at the end of s3. The branches are resolved at the end of s5. With the static predicted not-taken scheme, untaken branches do not have stall cycles and taken branches have 4 cycles penalty. In this problem, we study how dynamic branch predictors and BTB can improve the performance. Assume the following. Ignore jumps. Branches are 20% of all instructions executed. 60% of branches are taken. The base CPI is 1.1 without branch stalls. . a) (5 points) What is the average CPI if the processor adopts the static predicted not-taken method? b) (10 points) Suppose we implement a dynamic branch predictor. The prediction accuracy is 90% for both taken and untaken branches. The prediction is available at the end of S2. However, the processor the processor has the dynamic branch predictor

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

Fundamentals Of Database Management Systems

Authors: Mark L. Gillenson

3rd Edition

978-1119907466

More Books

Students also viewed these Databases questions

Question

Write down the Limitation of Beer - Lamberts law?

Answered: 1 week ago

Question

Discuss the Hawthorne experiments in detail

Answered: 1 week ago

Question

Explain the characteristics of a good system of control

Answered: 1 week ago

Question

State the importance of control

Answered: 1 week ago