Patents
US 7,107,438 B2#42547673 Most CitedExpiredUnited States (USPTO)Utility

Pipelined microprocessor, apparatus, and method for performing early correction of conditional branch instruction mispredictions

2Forward Citations (#42547673 Global)
0.1/yrCitation Velocity (#45746662 Global)
0.95Citation PageRank (#44798905 Global)
23Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

An apparatus and method for performing early correction of a conditional branch instruction in a pipeline microprocessor is disclosed. Early branch correction logic examines early status flags to detect a branch misprediction. The early status flags are generated in response to an instruction preceding the branch instruction earlier in the pipeline than the architected status flags are generated and may or may not be valid. If the early status flags are valid and indicate a misprediction, the early correction logic corrects the misprediction. If the pipeline stages below the early correction logic stage become void of uncompleted flag-modifying instructions, such as after a pipeline flush, the early status flags are re-validated by copying to the architected status flags to the early status flags. Late branch correction logic corrects the misprediction if the architected status flags indicate a misprediction and if the early correction logic did not correct the misprediction.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    An apparatus for correcting a prediction of a branch instruction in a pipeline microprocessor, the prediction predicting whether a branch condition specified by the branch instruction is satisfied in architected status flags of the microprocessor, the apparatus comprising: early status flags, corresponding to and storing a newer state than the architected status flags, said early status flags having a valid indicator; early branch correction logic, for correcting the prediction of the branch instruction if said valid indicator indicates said early status flags are valid and if said early statu

Technical Overview & Description

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

References Cited — Backward Prior Art (23)

PatentTitleYearCitations
EP 0,402,787 A2Cache miss prediction method and apparatus—26
US 5,043,868 ASystem for by-pass control in pipeline operation of computer199155
US 5,075,849 AInformation processor providing enhanced handling of address-conflicting instructions during pipeline processing199124
US 5,442,767 AAddress prediction to avoid address generation interlocks in computer systems199528
US 5,487,153 ANeural network sequencer and interface apparatus199660
US 5,493,669 AData processor for simultaneously searching two fields of the rename buffer having first and second most recently allogated bits199624
US 5,687,349 AData processor with branch target address cache and subroutine return address cache and method of operation199758
US 5,701,426 AData processing system and method using cache miss address prediction and forced LRU status in a cache memory to improve cache hit ratio199737
US 5,768,610 ALookahead register value generator and a superscalar microprocessor employing same199875
US 5,812,813 AApparatus and method for of register changes during execution of a micro instruction tracking sequence199821
US 5,867,724 AIntegrated routing and shifting circuit and method of operation199942
US 6,021,471 AMultiple level cache control system with address and data pipelines200035
US 6,065,103 ASpeculative store buffer200084
US 6,079,014 AProcessor that redirects an instruction fetch pipeline immediately upon detection of a mispredicted branch while committing prior instructions to an architectural state200075
US 6,085,292 AApparatus and method for providing non-blocking pipelined cache200027
US 6,112,293 AProcessor configured to generate lookahead results from operand collapse unit and for inhibiting receipt/execution of the first instruction based on the lookahead result200061
US 6,148,391 ASystem for simultaneously accessing one or more stack elements by multiple functional units using real stack addresses200066
US 6,209,076 B1Method and apparatus for two-stage address generation200129
US 6,219,778 B1Apparatus for generating out-of-order results and out-of-order condition codes in a processor200126
US 6,343,359 B1Result forwarding cache200219
US 6,393,555 B1Rapid execution of FCMOV following FCOMI by storing comparison result in temporary register in floating point unit200266
US 6,412,043 B1Microprocessor having improved memory management unit and cache memory200270
US 6,421,771 B1Processor performing parallel operations subject to operand register interference using operand history storage20028

Non-Patent Literature (5)

  • Farcy A et al: "Dataflow analysis of branck mispredictions and its application to early resolution of branch outcomes" Micro-31. Proceedings of the 31st. Annual ACM/IEEE International Symposium on Microarchitecture, Dallas, TX, Nov. 30-Dec. 2, 1998, Proceedings of the Annual ACM/IEEE International S
  • IA-32 Intel Architecture Software Developer's Manual vol. 2: Instruction Set Reference, 2001.
  • IA-32 Intel Architecture Software Developer's Manual vol. 3: System Programming Guide, 2001.
  • Inoue, Performing Parallel Operations Subject to Operand Register Interference Using Operand History Storage, Pub. No.: US 2002/00499895 A1, Apr. 25, 2002.
  • Jim Handy, The Cache Memory Book, 2nd Edition, 1998, pp. 47 and 222.