Patents
US 8,099,586 B2#15487100 Most CitedActiveUnited States (USPTO)Utility

Branch misprediction recovery mechanism for microprocessors

7Forward Citations (#15487100 Global)
0.5/yrCitation Velocity (#15510841 Global)
1.66Citation PageRank (#19453004 Global)
11Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

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.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 7.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computing system comprising: a memory configured to store instructions of a computer program; and an instruction fetch unit (IFU) coupled to the memory, wherein the IFU is configured to: predict an outcome of a branch instruction in a pipeline; identify a predetermined condition prior to retirement of the branch instruction, responsive to detecting the branch instruction is mispredicted; responsive to determining the predetermined condition is satisfied: flush all instructions in the pipeline prior to retirement of the branch instruction; and restart instruction fetch at an address which cor

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗