Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask Assembly Expert

Scenario:

A) Table below summarizes the relation between a sequence of three conditional statements.

B) Use a single bit correlating predictor, with initial state "NT / NT" for each branch prediction.

C) Assume a correlation history that initializes the rst prediction for branch`B1' to the case of `branch taken'.

D) Assume that the values for `R1' are only modi ed by the instructions speci ed in Table first and take the initial values as detailed in Table second on each new encounter with the above code.

problem 1: Complete the contents of Table second if the value for R1 iterates through the sequence 0 → 2 → 4 → .... and the predictor takes the form of a 1-bit correlated predictor. What is the corresponding miss prediction rate?

problem 2: Now design a (0, 2) predictor for the same sequence i.e., a common (0, 2) predictor design is employed for each of the three branches. What is the corresponding miss prediction rate?

Would such a predictor also work well for the case of predicting loop behaviour?

Table: Sequence of conditional statements. abs() denotes the absolute operator returning the magnitude of the argument.

1016_sequence of conditional statements.jpg

Table: State table for 1-bit Correlated Predictor. The R1 column speci es the initial value of the register on the rst line of the above code. Thereafter the path through the code can modify the value for R1.

1199_corelated predictor.jpg

Assembly, Programming

  • Category:- Assembly
  • Reference No.:- M9736

Have any Question? 


Related Questions in Assembly

1write build and run an assembly language program that

1. Write, build, and run an assembly language program that displays 0 through 9 on the screen. You can only use the following data segment: message BYTE "0",13,10,0 2. Write an Assembly Language program that will write o ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate