US2005132175A1PendingUtilityA1

Speculative hybrid branch direction predictor

Assignee: IP FIRST LLCPriority: May 4, 2001Filed: Nov 1, 2004Published: Jun 16, 2005
Est. expiryMay 4, 2021(expired)· nominal 20-yr term from priority
G06F 9/323G06F 9/30054G06F 9/30149G06F 9/3806G06F 9/3848G06F 9/382
49
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

An apparatus for speculatively predicting the direction of a branch instruction in a pipelined microprocessor in a hybrid fashion. A branch target address cache (BTAC) stores a direction prediction about executed branch instructions. The BTAC is indexed by an instruction cache fetch address. The BTAC is accessed in parallel with the instruction cache access, such that the direction prediction is provided before the actual instruction is decoded which is presumed to be a branch instruction corresponding to the direction prediction stored in the BTAC. In parallel with the BTAC access, a branch history table (BHT) is accessed to provide a second speculative direction prediction. The BHT is indexed with a gshare function of the instruction cache fetch address and a global branch history stored in a global branch history register. The BTAC also provides a selector that selects between the two speculative direction predictions.

Claims

exact text as granted — not AI-modified
1 - 36 . (canceled)  
   
   
       37 . A method for speculatively branching in a microprocessor, the method comprising: 
 generating a plurality of speculative branch direction predictions of an instruction;    selecting one of said plurality of speculative branch direction predictions as a final direction prediction; and    speculatively branching the microprocessor if said final direction prediction indicates said instruction will be taken;    wherein said generating, said selecting, and said speculatively branching are preformed prior to decoding said instruction.    
   
   
       38 . The method of  claim 37 , further comprising: 
 detecting said final direction erroneously indicated said instruction will be taken subsequent to said speculatively branching.    
   
   
       39 . The method of  claim 38 , further comprising: 
 branching to a correct target address in response to said detecting.    
   
   
       40 - 45 . (canceled)

Join the waitlist — get patent alerts

Track US2005132175A1 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.