View the step-by-step solution to:

Question


1. (10 points) Assume that the behavior of branch b1 determines whether branch b2 is taken or not. A

(1,2) correlating predictor is used to dynamically predict b2's behavior. Assume the initial state of every 2-bit branch prediction buffer in the correlating predictor is initialized to "NT (00)". if () { // b1 ... } if () { // b2 ... } During a single program run, b1 and b2 are each encountered 5 times. The table below shows the branch outcome of (b1, b2) during this program run. Beside each row, show the state of the prediction buffers in the correlating predictor after each encounter. 

Annotation 2020-02-11 203440.png

Annotation 2020-02-11 203440.png

Recently Asked Questions

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question
Let our 24/7 Computer Science tutors help you get unstuck! Ask your first question.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors