Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

answer a and b (1) The following table shows a sequence of four branches, with the first column being actual. With the 2-bit dynamics prediction

image text in transcribed

answer a and b

(1) The following table shows a sequence of four branches, with the first column being actual. With the 2-bit dynamics prediction model, the branches are executed in four passes, as shown in columns 2,3,4, and 5 , respectively: Answer the following questions: a) (5 points) Using all the above branches, evaluate the probability of correct prediction (Pcerrect). (2 points) Total number of predictions (gredNum) = (3 points) Probability of correct prediction Pcorrect = sum of Correct Pred) / gredNum = b) (5 points) Assume that each miss-prediction incurs 2 stalls to the CPU and the probability of branching instructions is 0.18. Assume the CPI=2 when all the predictions are correct. Evaluate the CPI based on the above four passes. ( 3 points)

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

Financial Accounting

Authors: LibbyShort

7th Edition

78111021, 978-0078111020

More Books

Students also viewed these Accounting questions