IP Library Granted Patent US 7,941,654
Granted Patent B2
US 7,941,654 · App. 12/364,350 · Granted May 10, 2011

Local and global branch prediction information storage

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,941,654
App. No.
12/364,350
Granted
May 10, 2011
Kind
B2
Abstract

Embodiments of the invention provide an apparatus of storing branch prediction information. In one embodiment, an integrated circuit device includes a first table for storing local branch prediction information, a second table for storing global branch prediction information, and circuitry. The circuitry is configured to receive a branch instruction and store local branch prediction information for the branch instruction in the first table. The local branch prediction information includes a local predictability value for the local branch prediction information. The circuitry is further configured to store global branch prediction information for the branch instruction in the second table only if the local predictability value is below a threshold value of predictability.

Claims (27)

1. An integrated circuit device comprising:

a first table for storing local branch prediction information;

a second table for storing global branch prediction information;

circuitry configured to:

receive a branch instruction;

store local branch prediction information for the branch instruction in the first table including a local predictability value for the local branch prediction information; and

store global branch prediction information for the branch instruction in the second table only if the local predictability value is below a threshold value of predictability.

2. The integrated circuit device of claim 1 , wherein the global branch prediction information includes one or more outcome bits for one or more other branch instructions and a corresponding prediction bit corresponding to the predicted outcome of the branch instruction.

3. The integrated circuit device of claim 1 , wherein the local predictability value indicates a frequency of previous correct predictions for the branch instruction.

4. An integrated circuit device comprising:

a first table for storing local branch prediction information;

a second table for storing global branch prediction information;

circuitry configured to:

receive a branch instruction;

store local branch prediction information for the branch instruction in the first table including a local predictability value for the local branch prediction information, wherein the local branch prediction information includes a prediction bit corresponding to a predicted outcome of the branch instruction; and

store global branch prediction information for the branch instruction in the second table only if the local predictability value is below a threshold value of predictability.

5. The integrated circuit device of claim 4 , wherein the predicted outcome of the branch instruction is one of taking a branch of the branch instruction and not-taking a branch of the branch instruction.

6. An integrated circuit device comprising:

a first table for storing local branch prediction information;

a second table for storing global branch prediction information;

circuitry configured to:

receive a branch instruction;

store local branch prediction information for the branch instruction in the first table including a local predictability value for the local branch prediction information; and

store global branch prediction information for the branch instruction in the second table only if the local predictability value is below a threshold value of predictability, wherein the global branch prediction information includes a global predictability value.

7. The integrated circuit device of claim 6 , wherein the circuitry is further configured to:

use the local branch prediction information to predict an outcome of the branch instruction if the local predictability value is greater than the global predictability value; and

use the global branch prediction information to predict the outcome of the branch instruction if the global predictability value is greater than the local predictability value.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 16, 2013
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: INTEL CORPORATION
Reel/Frame 030228/0415 →