METHOD TO IMPROVE BRANCH PREDICTION LATENCY
First Claim
Patent Images
1. A processor comprisinga fetch unit to fetch instructions from a memory;
- a first buffer to store one or more branch predictions correspond to one or more branch instructions including a first instruction;
a second buffer to store at least a part of an address of the first instruction; and
a branch prediction logic to generate a branch prediction of a second instruction based at least in part on the address of the first instruction, wherein the first instruction is prior to the second instruction in a program order.
1 Assignment
0 Petitions
Accused Products
Abstract
An apparatus to generate a branch prediction of an instruction based at least in part on the address of the previous branch instruction, wherein the previous instruction is prior to the instruction in a program order. The prediction can also based on a branch history value with respect to the previous branch instruction and one or more previous branch predictions.
-
Citations
25 Claims
-
1. A processor comprising
a fetch unit to fetch instructions from a memory; -
a first buffer to store one or more branch predictions correspond to one or more branch instructions including a first instruction; a second buffer to store at least a part of an address of the first instruction; and a branch prediction logic to generate a branch prediction of a second instruction based at least in part on the address of the first instruction, wherein the first instruction is prior to the second instruction in a program order. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method to perform branch prediction comprising:
-
reading a first plurality of entries from a first prediction table based at least in part on an address of a first branch instruction and a branch history value with respect to the first branch instruction; selecting a first entry from the first plurality of entries based at least on a branch prediction of the first branch instruction; and generating a branch prediction of a second branch instruction based at least on the first entry, wherein the first branch instruction is prior to the second branch instruction in a program order. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A system for branch prediction comprising:
-
an instruction fetch unit to receive instructions from a memory; an instruction decoding unit to decode the instruction; a first register to store one or more branch predictions correspond to one or more branch instructions including a first branch instruction; a second register to store at least a part of an address of the first branch instruction; and a branch prediction unit to generate a branch prediction of a second instruction based at least in part on the address of the first branch instruction, wherein the first branch instruction is prior to the second instruction in a program order. - View Dependent Claims (24, 25)
-
Specification