发明名称 |
Branch markers for rapidly identifying branch predictions |
摘要 |
A method and mechanism for performing branch prediction. A processor is configured with a branch prediction cache which is configured to store branch prediction information corresponding to a group of instructions. Branch marker bits are stored, each of which correspond to a different byte range of a group of instruction bytes. Each branch marker bit provides an indication as to whether or not a predicted branch instruction ends within the corresponding byte range. In response to receiving a fetch address, a corresponding branch marker bit is selected. A determination is made as to whether the selected bit indicates the presence of a predicted branch instruction. A plurality of branch prediction information entries are also maintained. If the selected branch marker bit indicates a predicted branch, the position of the selected branch marker bit relative to other branch marker bits may be used to select a corresponding entry from the branch prediction information entries.
|
申请公布号 |
US6854050(B1) |
申请公布日期 |
2005.02.08 |
申请号 |
US20020086131 |
申请日期 |
2002.02.28 |
申请人 |
ADVANCED MICRO DEVICES, INC. |
发明人 |
ZURASKI, JR. GERALD D. |
分类号 |
G06F12/08;G06F9/38;(IPC1-7):G06F9/38 |
主分类号 |
G06F12/08 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|