Method and apparatus for changing flow of control in a processor
Abstract
A simplified method and apparatus for handling the change of instruction control flow in a microprocessor is provided. Rather than attempting to implement a change in the instruction flow immediately, the processor first recognizes that flow is to be redirected from a predicted instruction flow to a correct instruction flow according to a flow control indicator. The flow control indicator may be attached to instructions flowing down the pipeline or inserted as a separate instruction in the pipeline. The pipeline is cleared of state created by instructions that do not follow the correct instruction flow, i.e., instructions that were erroneously fetched after the instruction causing the change in flow. The change in flow as indicated by the flow control indicator is implemented later in the pipeline.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 63.
Claims (3 — 2 Independent, 1 Dependent)
- Claim 1Independent Claim
In a pipelined microprocessor for executing instructions, an instruction decoder comprising: a decoding circuit generating a micro operation (uop) having a plurality of fields; an adder coupled to receive an instruction pointer of a branch instruction, the adder adding the instruction pointer to generate an absolute target address; and a multiplexing circuit multiplexing the absolute target address into one of the plurality of fields of the uop.
- Claim 2Depends on #1
The instruction decoder of claim 1, wherein the field is an immediate field and the instruction decoder is coupled to provide the uop, including the absolute target in the immediate field, to an execution unit.
- Claim 3Independent Claim
In a pipelined microprocessor executing instructions and providing a macroinstruction having an address and at least one uop, an instruction decoder d
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 63 total)
References Cited — Backward Prior Art (8)
Non-Patent Literature (4)
- Johnson, Mike, "Microprocessor Design", Advanced Micro Devices, Prentice Hall, 1991.
- Johnson, Mike, Microprocessor Design , Advanced Micro Devices, Prentice Hall, 1991.
- Popescu, Val, "The Metaflow Architecture", IEEE 1991, pp. 10-13,63-73.
- Popescu, Val, The Metaflow Architecture , IEEE 1991, pp. 10 13,63 73.