Method for cancelling conditional delay slot instructions
Abstract
A first tag is assigned to a branch instruction. Dependent on the type of branch instruction, a second tag is assigned to an instruction in the branch delay slot of the branch instruction. If the branch is mispredicted, the first tag is broadcast to pipeline stages that may have speculative instructions, and the first tag is compared to tags in the pipeline stages to determine which instructions to cancel. The assignment of tags for a fetch group of concurrently fetched instructions may be performed in parallel. A plurality of branch sequence numbers may be generated, and one of the plurality may be selected for each instruction responsive to the cumulative number of branch instructions preceding that instruction within the fetch group. The selection may be further responsive to whether or not the instruction is in a conditional delay slot.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 15.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A processor comprising: a circuit configured to process multiple instructions at a time and to assign a first tag to a first instruction in a branch delay slot of a branch instruction, to indicate that the first instruction is in a same basic block as the branch instruction if the branch delay slot is unconditional, but to increment the first tag and assign an incremented tag to the first instruction to indicate that the first instruction is in a different basic block than the branch instruction, if the branch delay slot is conditional; and a pipeline coupled to receive the multiple instructio
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 15 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (5)
- Gerry Kane and Joe Heinrich, "MIPS RISC Architecture," MIPS Technologies, Inc., 1992, pp. 1-12 to 1-14, 3-19 to 3-21, A-7, A-15 to A-38, A-50 to A-53, and C-6 to C-7.
- Halfhill. "Beyond Pentium II". (C)Dec. 1997. pp. 108 http://www.byte.com/art/9712/sec5/art1.htm.*
- Heinrich, "MIPS R4000 Microprocessor User's Manual" 2<SUP>nd </SUP>Edition. (C)1994. p. 41.*
- Jim Keller, "The Mercurian Processor: A High Performance, Power-Efficient CMP for Networking," Oct. 10, 2000, 22 pages.
- Klauser et al. "Selective Eager Execution on the PolyPath Architecture". (C)1998. pp. 1-10.*