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

Project marie start code at bottom of Project MARIE Start code at bottom of document 1.

Project MARIE Start code at bottom of document 1. Introduction The objective of this project is to reinforce your understanding of computer organization, instruction set architectures, and assembly language. You will acc ...

Questions statementyou have to write a subroutine assembly

Questions Statement You have to write a subroutine (assembly language code using NASM) for the following equation. DX= (AX 2 + (AX-1) + 2*(AX+2))/2 Note: You cannot use MUL or DIV instructions, you have to perform multip ...

Binary is a numer system used by computers it consists of

Binary is a numer system used by computers. It consists of only two digits, 0 and 1, which represent off and on. In decimal numbers, there are ten digits, 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. When you write 247 in decimal, ...

Problemyou have to write a subroutine assembly language

Problem: You have to write a subroutine (assembly language code using NASM) for the following equation. DX= (AX 2 + (AX-1) + 2*(AX+2))/2 Note: You cannot use MUL or DIV instructions, you have to perform multiplication an ...

Assembly language labfibonacci numbers are integers 0 1 1 2

Assembly Language Lab Fibonacci numbers are integers 0, 1, 1, 2, 3, 5, 8, 13, 21 ... If function fib(n) represents the nth Fibonacci number, we have fib(n) = fib(n-1) + fib(n-2) for n > 2, and fib(1) = 0, fib(2) = 1. The ...

Assembly languagelab assignmentin this lab we will write an

Assembly Language Lab Assignment In this lab we will write an assembly program to implement a Finite State Machine (FSM) that recognizes hexadecimal integer constant that conforms to MASM syntax. The hexadecimal constant ...

Questions statementyou have to write a subroutine assembly

Questions Statement You have to write a subroutine (assembly language code using NASM) for the following equation. DX= (AX 2 + (AX-1) + 2*(AX+2))/2 Note: You cannot use MUL or DIV instructions, you have to perform multip ...

  • 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

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen