Calculate the prediction accuracy of predictor

Assignment Help Business Management
Reference no: EM132139405

Subject Computer Architecture

1. Suppose the following loop iterates 89 times. Assume a 1-bit predictor is used. Calculate the prediction accuracy of this predictor. Assume the buffer contains 0 initially.

1000 Loop: fld f1, 0(x1)

1004 ......

1008 ......

1012 bne x2, x0, -16

2. Answer Problem 3 using a 2-bit predictor. Assume the buffer contains 00 initially.

3. Consider the code in Example 4, Chapter 3 slides. Assume a ten entry Branch History Table of 2-bit predictor used with initial values of 01, 10, 10. Show the prediction behavior if the following are read into the code via a loop:

aa=2 and bb=3, followed by aa=2 and bb=2, followed by aa=4 and bb=2

Calculate the overall prediction accuracy.

4.

a) Display a Branch Target Buffer for the code in Example 6. Assume 2- bits predictor for branches are initially 00, 10, 11.

b) Now assume you execute the code again and this time all three branches are taken. Display the new BTB.

5. State what takes place when each of the following instructions reach the top of ROB and their operands are all available:

a) fld f2, 0(x6)

b) fadd f2, f4, f6

c) fsd f2, 0(x2)

d) addwi x3, x3, #-8

e) bne x3, x0, target (Mispredicted)

f) beq x3, x0, Loop (Predicted Correctly)

Reference no: EM132139405

Questions Cloud

What are the advantages and disadvantages of social media : Produce a professional report. Use suitable headings to guide the reader through your report - You need to reach an informed conclusion
Determine order size that appear to maximize expected profit : Simulate order sizes in 50-unit increments from 1,500 coats to 2,500 coats. Determine the order size that appears to maximize expected profit.
What is the monopolist profit-maximizing price : A monopoly has costs described by TC(Q)=6000+8Q. Demand is described by P=60-0.1Q. What is the monopolist's profit-maximizing price (P)?
Explain the solution that you think is best for the company : Analyze the culture, values, and ethics for the company, as well as cultural differences and perspectives for each department.
Calculate the prediction accuracy of predictor : Suppose the following loop iterates 89 times. Assume a 1-bit predictor is used. Calculate the prediction accuracy of this predictor. Assume the buffer contains
What is the law of one price : What is the real exchange rate? Explain why economic decisions will be basedmore on movements in the real exchange rate than the nominal rate.
What purpose could adding a technology company : What purpose could adding a technology company into a stock portfolio serve? What happens if the stock price hits US$23? US$23.01
What type of change does red carpet need : What type of change does Red Carpet need? Should it be transformational, developmental or transitional and why?
What other sources could the economy try to tap into : In the model, the level of investment depends on the level of domestic savings. If the level of domestic savings is too low to allow the economy grow.

Reviews

Write a Review

Business Management Questions & Answers

  Caselet on michael porter’s value chain management

The assignment in management is a two part assignment dealing 1.Theory of function of management. 2. Operations and Controlling.

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. Due to increase in the preference for light beer drinkers, Chris Prangel wants to introduce light beer version in Mountain Man. An analysis into the la..

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. An analysis into the launch of Mountain Man Light over the present Mountain Man Lager.

  Analysis of the case using the doing ethics technique

Analysis of the case using the Doing Ethics Technique (DET). Analysis of the ethical issue(s) from the perspective of an ICT professional, using the ACS Code of  Conduct and properly relating clauses from the ACS Code of Conduct to the ethical issue.

  Affiliations and partnerships

Affiliations and partnerships are frequently used to reach a larger local audience? Which options stand to avail for the Hotel manager and what problems do these pose.

  Innovation-friendly regulations

What influence (if any) can organizations exercise to encourage ‘innovation-friendly' regulations?

  Effect of regional and corporate cultural issues

Present your findings as a group powerpoint with an audio file. In addition individually write up your own conclusions as to the effects of regional cultural issues on the corporate organisational culture of this multinational company as it conducts ..

  Structure of business plan

This assignment shows a structure of business plan. The task is to write a business plane about a Diet Shop.

  Identify the purposes of different types of organisations

Identify the purposes of different types of organisations.

  Entrepreneur case study for analysis

Entrepreneur Case Study for Analysis. Analyze Robin Wolaner's suitability to be an entrepreneur

  Forecasting and business analysis

This problem requires you to apply your cross-sectional analysis skills to a real cross-sectional data set with the goal of answering a specific research question.

  Educational instructional leadership

Prepare a major handout on the key principles of instructional leadership

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