What will be the state of the bht after bubble

Assignment Help Computer Engineering
Reference no: EM133285063

Figure shows a state machine diagram of a 2-bit saturating counter with hysteresis branch predictor. The 2-bit state is labelled in blue. The most significant bit of the state gives the prediction (taken=1). The advantage of this predictor is that it takes two incorrect predictions to change a strong prediction, which can be helpful for certain kinds of branches. Consider a 2-bit saturating counter with hysteresis dynamic branch predictor with an 8-entry branch history table (BHT) that initially has all entries set to "01" for weakly not taken.

Assume that bubble begins at PC 0x100 and instructions are 4-byte aligned.

Question a) What will be the state of the BHT after bubble() with the optimized inner loop is called with a 10-element array sorted in ascending order?
Question b) How many of the predictions are correct?
Question c) How many of the predictions are incorrect?
Question d) What is the misprediction rate?
Question e) What are the total number of stall/squash cycles due to mispredicted branches?
Question f) What is the CPI of bXX for bubble?
Question g) Suppose you can add a 2-bit branch predictor to the pipeline without changing the clock frequency. What is the speedup of using a 2-bit predictor over static predict-not-taken for this call to bubble? Use the Iron Law. Round to 3 significant digits.

Reference no: EM133285063

Questions Cloud

Write an introduction to the importance of roadways : Write an introduction to the importance of roadways, pavement design, types of pavements, and advantages vs disadvantages of the pavement types
How you or others have been affected by microaggressive : Describe how you or others have been affected by microaggressive, biased, discriminatory, or racist behaviors
Calculate the derivative : Find the minimum of a function you must calculate the derivative and make it = 0. In the case of the function y the derivative is 2x - 2
Change the foreground color of a jlabel text : CSS 222 Eastern Gateway Community College How am I able to change the foreground color of a JLabel text with clicking a JButton using an Action Event Handlers
What will be the state of the bht after bubble : What will be the state of the BHT after bubble() with the optimized inner loop is called with a 10-element array sorted in ascending order
What accounts for the subprime financial turmoil : What accounts for the subprime financial turmoil that burst onto the scene in the summer of 2007? Who is most to blame for this mess
Create an array for outputting triangles : CS 200 Cavite State University - Bacoor Campus Create an array for outputting triangles. Ultimately this will need to be the same length as the input point
Which supply chain efficiency can be improved : Assume yourself as an advisor of Supply chain discipline, suggest ways and means through which supply chain efficiency can be improved
Write a complete java program : Write a complete Java Program that will ask for an integer-type input and check whether the given input is greater than 50 or not. If greater than 50

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd