Patents
US 7,159,098 B2#31809128 Most CitedExpiredUnited States (USPTO)Utility

Selecting next instruction line buffer stage based on current instruction line boundary wraparound and branch target in buffer indicator

3Forward Citations (#31809128 Global)
0.2/yrCitation Velocity (#38158850 Global)
1.13Citation PageRank (#35071885 Global)
50Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A branch control apparatus in a microprocessor. The branch control apparatus includes an instruction buffer having a plurality of stages that buffer cache lines of instruction bytes received from an instruction cache. A multiplexer selects one of the bottom three stages in the instruction buffer to provide to instruction format logic. The multiplexer selects a stage based on a branch indicator, an instruction wrap indicator, and a carry indicator. The branch indicator indicates whether the processor previously branched to a target address provided by a branch target address cache. The branch indicator and target address are previously stored in association with the stage containing the branch instruction for which the target address is cached. The wrap indicator indicates whether the currently formatted instruction wraps across two cache lines. The carry indicator indicates whether the current instruction being formatted occupies the last byte of the currently formatted instruction buffer stage.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A microprocessor having an instruction cache for providing a plurality of instruction bytes in response to a fetch address, the microprocessor also having a branch predictor for predicting in response to the fetch address whether a branch instruction is present in the plurality of instruction bytes provided by the instruction cache and for providing a prediction of whether or not the branch instruction will be taken, the microprocessor also having branch control logic that provides an indication of whether or not the microprocessor fetched a plurality of instruction bytes from the instruction

Technical Overview & Description

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

References Cited — Backward Prior Art (50)

PatentTitleYearCitations
US 4,181,942 AProgram branching method and apparatus198064
US 4,200,927 AMulti-instruction stream branch processing mechanism1980305
US 4,860,197 ABranch cache system with instruction boundary determination independent of parcel boundary1989123
US 5,142,634 ABranch prediction1992254
US 5,163,140 ATwo-level branch prediction cache1992144
US 5,313,634 AComputer system branch prediction of subroutine returns1994140
US 5,353,421 AMulti-prediction branch prediction mechanism1994108
US 5,355,459 APipeline processor, with return address stack storing only pre-return processed addresses for judging validity and correction of unprocessed address199455
US 5,394,530 AArrangement for predicting a branch target address in the second iteration of a short loop199564
US 5,404,467 ACPU having pipelined instruction unit and effective address calculation unit with retained virtual address capability199564
US 5,434,985 ASimultaneous prediction of multiple branches for superscalar processing1995136
US 5,513,330 AApparatus for superscalar instruction predecoding using cached instruction lengths199679
US 5,530,825 AData processor with branch target address cache and method of operation1996122
US 5,553,246 AShared bus mediation system for multiprocessor system199656
US 5,604,877 AMethod and apparatus for resolving return from subroutine instructions in a computer processor1997190
US 5,623,615 ACircuit and method for reducing prefetch cycles on microprocessors199787
US 5,623,614 ABranch prediction cache with multiple entries for returns having multiple callers199793
US 5,634,103 AMethod and system for minimizing branch misprediction penalties within a processor199779
US 5,687,360 ABranch predictor using multiple prediction heuristics and a heuristic identifier in the branch instruction1997105
US 5,687,349 AData processor with branch target address cache and subroutine return address cache and method of operation199758
US 5,706,491 ABranch processing unit with a return stack including repair using pointers from different pipe stages199887
US 5,721,855 AMethod for pipeline processing of instructions by controlling access to a reorder buffer using a register file outside the reorder buffer1998321
US 5,734,881 ADetecting short branches in a prefetch buffer using target location information in a branch target cache1998132
US 5,752,069 ASuperscalar microprocessor employing away prediction structure1998124
US 5,761,723 AData processor with branch prediction and method of operation199860
US 5,768,576 AMethod and apparatus for predicting and handling resolving return from subroutine instructions in a computer processor199875
US 5,805,877 AData processor with branch target address cache and method of operation199846

Non-Patent Literature (5)

  • Bray et al. Strategies For Branch Target Buffers. Technical Report No. CSL-TR-91-480. Jun. 1991.
  • Chang et al. Alternative Implementations of Hybrid Branch Predictors. Proceedings of MICRO-28. 1995. IEEE.
  • Eberly et al. "The Correlation Branch Target Address Cache" May 1996. IBM TDB, vol. 35,No. 5 p. 83-85.
  • IBM Technical Disclosure Bulletin NN9204269, "Return Address Stack Cache." Apr. 1992, pp. 269-271.
  • IEEE 100, The Authoritative Dictionary of IEEE Standard Terms, Seventh Edition, The Institute of Electrical Engineering, Inc. 3 Park Avenue, New York, NY, 10016-5997, Copyright 2000, Published by Standards Information Network IEEE Press, Published Dec. 2000, USA, p. 135.