发明授权
US6065115A Processor and method for speculatively executing instructions from multiple instruction streams indicated by a branch instruction 失效
用于从分支指令指示的多个指令流中推测执行指令的处理器和方法

Processor and method for speculatively executing instructions from
multiple instruction streams indicated by a branch instruction
摘要:
A microprocessor for efficient processing of instructions in a program flow including a conditional program flow control instruction, such as a branch instruction. The conditional program flow control instruction targets a first code section to be processed if the condition is resolved to be met, and a second code section to be processed if the condition is resolved to be not met. A fetch unit fetches instructions to be processed and branch prediction logic coupled to the fetch unit predicts the resolution of the condition. The branch prediction logic of the invention also determines whether resolution of the condition is unlikely to be predicted accurately. Stream management logic responsive to the branch prediction logic directs speculative processing of instructions from both the first and second code sections prior to resolution of the condition if resolution of the condition is unlikely to be predicted accurately. Results of properly executed instructions are then committed to architectural state in program order. In this manner, the invention reduces the performance penalty related to mispredictions.
信息查询
0/0