Lesson 14

.pdf

School

University of Massachusetts, Amherst *

*We aren’t endorsed by this school

Course

188

Subject

Computer Science

Date

Oct 30, 2023

Type

pdf

Pages

27

Uploaded by CaptainElkMaster384

Report
© 2020 UMass Amherst UWW. All rights reserved. ECE 568 Computer Architecture Lesson 14 Tournament Predictors and Branch Target Buffer
Prior Learning Patterson, Chapter 3 and Appendix C Static predictions Dynamic prediction (local and global) 1 & 2-bit dynamic branch prediction schemes Correlating branch prediction Branch history table Lesson 14 © 2020 UMass Amherst UWW. All rights reserved. 2
Rationale Using local and global predictors in parallel (tournament predictor) Comparing the accuracy of branch predictor Adding a branch target buffer or cache Predicated execution and return from subroutine Lesson 14 © 2020 UMass Amherst UWW. All rights reserved. 3
Objectives Analyze characteristics of tournament predictors Evaluate accuracy of branch prediction Explore branch target cache and buffer Explore predicated execution Analyze pitfalls of branch prediction Lesson 14 © 2020 UMass Amherst UWW. All rights reserved. 4
Tournament Predictors Some branches need only local information while others can benefit from global information. Tournament predictors: use two predictors, 1 based on global information and 1 based on local information, and combine with a selector Hopes to select right predictor for right branch (or right context of branch) Lesson 14 © 2020 UMass Amherst UWW. All rights reserved. 5
Tournament Predictor in Alpha 21264 The system computes both a local predictor and a global one. Then the selector decides which predictor to use based on which is currently doing better (gave the better result the last two times). The selector uses one of 4096 finite state machines (FSM) each with 4 states. Based on the results of the last branch decision it transitions between states. The current state indicates which (global or local) predictor to use. Based on the last 12 branches, a 12-bit pattern is generated as follows 12-bit pattern: ith bit is 0 => ith prior branch not taken; ith bit is 1 => ith prior branch taken; This 12 bit pattern is used as an address into the 4K table of FSMs. Lesson 14 © 2020 UMass Amherst UWW. All rights reserved. 6
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help

Browse Popular Homework Q&A

Q: NO₂ O OCH₂CH3 -. Show the best way to make the ether: Synthesis, starting from an alcohol/phenol.…
Q: What TWO statements correctly describe the impact of the Spanish on American Indians living in…
Q: Goods Grapes Textiles Spain 8 4 Note: figures are hours of labor per unit of output France 15 5
Q: What fibers are present in the fibrocartilage in the HPO of the microscope and where is located in…
Q: Question 15 A student designed an experiment to test the hypothesis that even very cold objects…
Q: The position vs. time graph below is for an object that is exhibiting SHM. The position function le…
Q: Write out all the steps in the mechanism of this electrophilic aromatic substitution reaction.…
Q: Find the volume of the solid obtained by rotating the region enclosed by the graphs of y=12−x,…
Q: Find the function f(x) =3x-2 and g(x)= 2x-2 find  i)(fog)(x) ii)(gof)(x)
Q: Describe with words and/or pictures the graph of:                      a. z2 + y =2…
Q: Write out the mechanism (intermediate/transition state) for this reaction; Br CH3 NaOCH, Ę₂ For the…
Q: -2 (a) Consider the functions f(x) = 100 – zª and F(x) = [*¸ ƒ(t) dt. i. Write a simplified form of…
Q: The slope of an isoquant is A. ΔLTC / ΔQ B.-ΔK / ΔL. C.ΔTVC / ΔQ D. None of the Above
Q: a) List the components of country’s GDP in an open economy. For each component, provide an  example…
Q: E| Η- H +ΔΕ -* − ΔΕ A Antibonding molecular orbital -Η Hea 1 Bonding molecular orbital +ΔΕ -* − ΔΕ B…
Q: (7a + 2)(4a + 12) (6z + 3)(22 + 6) f(a) Find the vertical asymptote(s), If there is more than one…
Q: Sketch the graph of the function below, including correct signs, x- intercepts and y-intercepts.…
Q: Why do you think x86 will not let you run the instruction below :   mov [r8], [rax]
Q: A common design requirement is that an environment must fit the range of people who fall between the…
Q: Ammonium sulfate is added to an unknown mixture of ions. A precipitate forms. The solution is…
Q: Solve the given equation for x. 96-2x - 96x-9 =
Q: Question 12 Which of the following models depicts changes in sound waves that would occur as an…