Methods and apparatus for reducing interference in a branch history table of a microprocessor
AssigneeHewlett-Packard Company
InventorDouglas B. Hunt
Life of this patent
Estimating the term…
Loading patent…
AssigneeHewlett-Packard Company
InventorDouglas B. Hunt
Estimating the term…
Interference in a branch history table of a microprocessor is reduced by methods and apparatus which predict the outcome of branch instructions (taken or not taken) through a combination of static and dynamic prediction techniques. Static prediction information (e.g., a compiler hint) may be stored in instruction memory, and dynamic prediction information is stored in a branch history table. A branch prediction results from an exclusive OR of static and dynamic prediction information. After execution of a branch instruction, an indication as to whether a branch was taken or not taken is exclusively ORed with the static prediction information for the branch instruction, and the result of this exclusive OR is used to update an appropriate entry in the branch history table. Using the methods and apparatus disclosed herein, two well-behaved branches may share an entry in a branch history table, yet not interfere with one another (even when the two well-behaved branches include one which is mostly taken, and one which is mostly not taken).
A method of predicting outcomes of a plurality of branch instructions executed in a microprocessor, comprising:
A method of predicting outcomes of a plurality of branch instructions executed in a microprocessor, comprising:
A method of reducing interference in a branch history table of a microprocessor, comprising:
A method of reducing interference in a branch history table of a microprocessor, comprising:
Apparatus in a microprocessor for predicting whether branches identified in a plurality of branch instructions will be taken or not taken, comprising:
Dependencies are inferred from the claim text.