Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The following series of branch outcomes occurs for a single branch in a pro- gram. (T means the branch is taken, N means the branch

The following series of branch outcomes occurs for a single branch in a pro- gram. (T means the branch is taken, N means the branch is not taken).

Index

1 2 3 4 5 6 7 8 9 10 11 12 13

T, T, N, T, N, T, T, T, T, N, T, T, N

(a) Assume that we are trying to predict this sequence with a Branch History Table (BHT) using a 1-bit prediction. The counters of the BHT are initialized to the N state. Which of the branches would be mispredicted? Show their indices.

(b) Repeat the above exercise with a 2-bit predictor as shown in Figure C.18 initialized to 10.

the book is computer architecture 5th

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_2

Step: 3

blur-text-image_3

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

Marketing Database Analytics

Authors: Andrew D. Banasiewicz

1st Edition

0415657881, 978-0415657884

More Books

Students also viewed these Databases questions

Question

c. How is trust demonstrated?

Answered: 1 week ago

Question

Have issues been prioritized?

Answered: 1 week ago

Question

d. How will lack of trust be handled?

Answered: 1 week ago