FACTOID # 33: Kenyan women work 35% longer than their menfolk.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

FACTS & STATISTICS    Simple view

  1. Select countries to view: (hold down Control key and click to select several)

     

     

    Compare:

     

     

  1. Select fact or statistic: (* = graphable)

     

     

     

  2. (OPTIONAL) Compare to statistic: (both need to be graphable)

     

     

     

  3. View result as:

     

       
(OR) SEARCH ALL encyclopedia, stats & forums:   

Encyclopedia > Branch misprediction
Jump to: navigation, search

Branch misprediction occurs when a CPU mispredicts the next instruction to process in branch prediction, which is aimed at speeding up execution. Jump to: navigation, search This article needs to be cleaned up to conform to a higher standard of quality. ... In computer architecture, a branch predictor is the part of a processor that determines whether a conditional branch in the instruction flow of a program is likely to be taken or not. ...


During the execution of certain programs there are places where the program execution flow can continue in several ways. These are called branches, or conditional jumps. The CPU also uses a pipeline which allows several instructions to be processed at the same time. When the code for a conditional jump is read we do not yet know the next instruction to execute and insert into the execution pipeline. This is where branch prediction comes in. Branch prediction guesses the next instruction to execute and inserts the next assumed instruction to the pipeline. Guessing wrong is called branch misprediction. This causes the work done to start processing the instructions following the branch to be discarded. If this happens too often it can hinder performance. In computer architecture, a branch predictor is the part of a processor that determines whether a conditional branch in the instruction flow of a program is likely to be taken or not. ...


  Results from FactBites:
 
System for using a branch prediction unit to achieve serialization by forcing a branch misprediction to flush a ... (2611 words)
The branch prediction unit is adapted to generate branch predictions for the branch instructions, direct the instruction fetch unit to retrieve the program instructions in an order corresponding to the branch predictions, and redirect the instruction fetch unit based on a branch misprediction.
The goal of the branch prediction unit 30 is to identify and predict the outcome of branch instructions such that the instruction fetch unit 20 may retrieve the program instructions required by the execution engine 15 in advance.
After a mispredicted branch instruction, instructions entered into the pipeline subsequent to the mispredicted branch instruction are flushed, and the pipeline is reloaded from the redirect instruction address stored in the branch resolution table 45.
Fast branch misprediction recovery method and system - Patent 6757816 (5696 words)
As a result of the misprediction, both the taken branch, represented by instructions 3 and 4, and the untaken branch, represented by instructions 1 and 2, are fetched.
This is orthogonal to the case where several branches and their target reappear in the instruction windows, such as the case of a conditional branch within a loop, in which each new occurrence of a target resolves the last occurrence of the branch.
Regardless of whether the branch was correctly predicted or not, and whether the detection of the alternative branch succeeded or not, the ABAT entry corresponding to the branch is always dismissed once the branch is committed.
  More results at FactBites »


 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments
Please enter the 5-letter protection code

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.