Selecting next instruction line buffer stage based on current instruction line boundary wraparound and branch target in buffer indicator
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)
- 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 ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (50)
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.