Patents
US 7,398,358 B2#18839669 Most CitedActiveUnited States (USPTO)Utility

Method and apparatus for high performance branching in pipelined microsystems

6Forward Citations (#18839669 Global)
0.3/yrCitation Velocity (#23175252 Global)
1.24Citation PageRank (#30609664 Global)
20Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

Abstract

A pipelined processor includes a branch acceleration technique which is based on an improved branch cache. The improved branch cache minimizes or eliminates delays caused by branch instructions, especially data-dependent unpredictable branches. In pipelined and multiply pipelined machines, branches can potentially cause the pipeline to stall because the branch alters the instruction flow, leaving the prefetch buffer and first pipeline stages with discarded instructions. This has the effect of reducing system performance by making the branch instruction appear to require multiple cycles to execute. The improved branch cache differs from conventional branch caches. In particular, the improved cache is not used for branch prediction, but rather, the improved branch cache avoids stalls by providing data that will be inserted into the pipeline stages that would otherwise have stalled when a branch is taken. Special architectural features and control structures are supplied to minimize the amount of information that must be cached by recognizing that only selected types of branches should be cached and by making use of available cycles that would otherwise be wasted. The improved branch

Interactive Citation Constellation Global Citation Ranking

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

Claims (3 — 1 Independent, 2 Dependent)

  1. Claim 1Independent Claim

    A method comprising: determining that an instruction is a branch instruction in a pipeline stage prior to a pipeline decode stage; and pre-fetching a set of branch target instructions associated with the branch instruction from a cache memory, wherein the set of branch target instructions comprise decoded instructions.

  2. Claim 2Depends on #1

    The method of claim 1 , comprising transferring the set of branch target instructions from the cache memory to a shadow dispatch unit comprising an output arranged in parallel with an output of a dispatch unit in the pipeline.

  3. Claim 3Depends on #2

    The method of claim 2 , comprising transferring the set of branch target instructions from the cache memory to an execution stage, wherein transferring is configured to bypass the decode stage.

Technical Overview & Description

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

References Cited — Backward Prior Art (20)

PatentTitleYearCitations
US 3,949,379 APipeline data processing apparatus with high speed slave store197667
US 4,926,323 AStreamlined instruction processor1990155
US 4,942,520 AMethod and apparatus for indexing, accessing and updating a memory199056
US 4,984,154 AInstruction prefetching device with prediction of a branch destination address199192
US 4,991,080 APipeline processing apparatus for executing instructions in three streams, including branch stream pre-execution processor for pre-executing conditional branch instructions1991121
US 5,136,696 AHigh-performance pipelined central processor for predicting the occurrence of executing single-cycle instructions and multicycle instructions1992163
US 5,226,130 AMethod and apparatus for store-into-instruction-stream detection and maintaining branch prediction cache consistency1993300
US 5,265,213 APipeline system for executing predicted branch target instruction in a cycle concurrently with the execution of branch instruction1993106
US 5,283,873 ANext line prediction apparatus for a pipelined computed system199484
US 5,454,117 AConfigurable branch prediction for a processor performing speculative execution1995171
US 5,469,552 APipelined data processor having combined operand fetch and execution stage to reduce number of pipeline stages and penalty associated with branch instructions199555
US 5,506,976 ABranch cache199653
US 5,604,909 AApparatus for processing instructions in a computing system199779
US 5,734,881 ADetecting short branches in a prefetch buffer using target location information in a branch target cache1998132
US 5,740,417 APipelined processor operating in different power mode based on branch prediction state of branch history bit encoded as taken weakly not taken and strongly not taken states199896
US 5,740,418 APipelined processor carrying out branch prediction by BTB199821
US 5,961,637 ASplit branch system utilizing separate set branch, condition and branch instructions and including dual instruction fetchers199959
US 6,157,988 AMethod and apparatus for high performance branching in pipelined microsystems200063
US 6,647,467 B1Method and apparatus for high performance branching in pipelined microsystems200325
US 7,197,603 B2Method and apparatus for high performance branching in pipelined microsystems20078