发明授权
- 专利标题: Method and apparatus for a branch instruction pointer table
- 专利标题(中): 分支指令指针表的方法和装置
-
申请号: US783073申请日: 1997-01-15
-
公开(公告)号: US5918046A公开(公告)日: 1999-06-29
- 发明人: Bradley D. Hoyt , Glenn J. Hinton , David B. Papworth , Subramanian Natarajan , Reynold V. D'Sa
- 申请人: Bradley D. Hoyt , Glenn J. Hinton , David B. Papworth , Subramanian Natarajan , Reynold V. D'Sa
- 申请人地址: CA Santa Clara
- 专利权人: Intel Corporation
- 当前专利权人: Intel Corporation
- 当前专利权人地址: CA Santa Clara
- 主分类号: G06F9/38
- IPC分类号: G06F9/38 ; G06F9/40
摘要:
A buffer is used to store information about the branch instructions within a pipelined microprocessor that can speculatively execute instructions. When a branch instruction in the microprocessor is decoded, the address of the instruction immediately following the branch instruction (the Next Linear Instruction Pointer or NLIP) and some processor state information is written into a Branch Instruction Pointer Table. The branch instruction then proceeds down the microprocessor pipeline. Eventually, the branch instruction is executed. The resolved branch outcome for the branch instruction is compared with a predicted branch outcome. If the branch prediction was correct, the microprocessor continues execution along the current path. However, if the branch prediction was wrong then the execution unit flushes the front-end microprocessor pipeline and restores the microprocessor state information that was stored in the Branch IP Table. If the branch was mispredicted as not taken, the execution unit instructs an Instruction Fetch Unit to resume execution at a final branch target address. Alternatively, if the branch was mispredicted as taken when the branch should not have been taken, the execution unit instructs the Instruction Fetch Unit to resume execution at the Next Linear Instruction Pointer (NLIP) address stored in the Branch IP Table.
公开/授权文献
- US4673838A Brush holding device for rotating electrical machines 公开/授权日:1987-06-16
信息查询