Subject computer architecture

Assignment Help Business Management
Reference no: EM132140404

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: EM132140404

Questions Cloud

Does the ritz-carlton work environment : Does the Ritz-Carlton work environment sound like the type of place you would like to work? Why or why not?
Disney has sought to improve its waiting line experiences : Identify five ways that Disney has sought to improve its waiting line experiences.
What are some pros to signing the tpp : Given that eight other nations have already signed their participation, would you recommend to the U.S. Senate that it should be ratified?
Gender bias in organization with which you are familiar : Give an example of Gender bias in an organization with which you are familiar.
Subject computer architecture : Suppose the following loop iterates 89 times. Assume a 1-bit predictor is used. Calculate the prediction accuracy of this predictor.
How regional trading groups influence organizations : Distinguish between absolute advantage and comparative advantage trade theories and give examples
Do you think that you would be able to compensate : If you lost your procedural memory, do you think that you would be able to compensate for that by using your declarative memory to learn tasks and skills?
Performance assessed and managed at t-mobile and verizon : How is employee performance assessed and managed at T-mobile and Verizon? Do you think these programs are effective? Why or why not?
Assign the final grades based on the scores : Instructors use the Grading System to assign the final grades based on the scores received by the students during the semester.

Reviews

Write a Review

Business Management Questions & Answers

  Major characteristics-challenges of world trade organization

Let's start by describing some of the major characteristics and challenges of the World Trade Organization by using Brazil and Norway as examples. Then, let's discuss what some of the main steps forward as well as roadblocks in the Doha Rounds?

  Which of katzs management skills are evident in the video

MGT-240: Which of Mintzberg's managerial roles do Ledogar and Vik display in the video? Which of Katz's management skills are evident in this video? In what way is One Smooth Stone an open system? Explain your answer.

  Adm has a warehouse located next to a railroad trackthey

adm has a warehouse located next to a railroad track.they buy truck loads of grain and warehouse the grain until they

  Company manufacture a quality line of home kitchen appliance

You've just learned that your primary competitor has just cut their prices to the consumer by 7%. Illustrate what might be some reasons that would support their decision to make a price reduction? Illustrate what should be your thoughtful reaction..

  Bank protection act

Find an article online that discusses a specific security procedure that was implemented as a result of the bank protection act.

  Steps of preparing an interpretive action research project

Review 5 major steps of preparing an Interpretive Action Research project. How does it differ from Experimental Survey research?

  Describe an effective employee onboarding program

Describe an effective employee onboarding program and the importance of employee socialization to an organization

  How the total cost of a partially

Using earned value analysis; explain how the total cost of a partially completed project can be estimated

  The best combination of barrels of pruned and regular olives

The best combination of barrels of pruned and regular olives

  Determining the diversity sensitive orientation

In your opinion, what would be some strategies for developing a diversity sensitive orientation?

  What is the purpose of an open-skies agreement

What is the purpose of an open-skies agreement? In what ways are oceangoing containers and aircraft containers different?

  What is the safe temperature for gpu

What is the safe temperature for GPU? And what is the safe temperature for the cup?

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