发明名称 Branch misprediction recovery mechanism for microprocessors
摘要 A system and method for reducing branch misprediction penalty. In response to detecting a mispredicted branch instruction, circuitry within a microprocessor identifies a predetermined condition prior to retirement of the branch instruction. Upon identifying this condition, the entire corresponding pipeline is flushed prior to retirement of the branch instruction, and instruction fetch is started at a corresponding address of an oldest instruction in the pipeline immediately prior to the flushing of the pipeline. The correct outcome is stored prior to the pipeline flush. In order to distinguish the mispredicted branch from other instructions, identification information may be stored alongside the correct outcome. One example of the predetermined condition being satisfied is in response to a timer reaching a predetermined threshold value, wherein the timer begins incrementing in response to the mispredicted branch detection and resets at retirement of the mispredicted branch.
申请公布号 US8099586(B2) 申请公布日期 2012.01.17
申请号 US20080346349 申请日期 2008.12.30
申请人 CHOU YUAN C.;GOLLA ROBERT T.;LUTTRELL MARK A.;JORDAN PAUL J.;SHAH MANISH;ORACLE AMERICA, INC. 发明人 CHOU YUAN C.;GOLLA ROBERT T.;LUTTRELL MARK A.;JORDAN PAUL J.;SHAH MANISH
分类号 G06F9/00 主分类号 G06F9/00
代理机构 代理人
主权项
地址