Method and system for detecting a flush of an instruction without a flush indicator
Abstract
A method and system for detecting flushed instructions without a flush indicator is provided. In order to monitor the flushing of an instruction in an instruction pipeline of a processor, an instruction is selected as a sampled instruction and the progress of the sampled instruction through the instruction pipeline is monitored. Upon selection of an instruction as a sampled instruction, a countdown value is initialized to a value equal to the maximum number of instructions within the instruction pipeline, and as instructions complete, the countdown value is decremented. If progress of the sampled instruction is detected as the instruction moves through the instruction pipeline, the countdown value is reinitialized. If the countdown value reaches zero, then a flush of the sampled instruction from the instruction pipeline is presumed, and an indication that the sampled instruction has been flushed is generated. In response to the indication that the sampled instruction has been flushed, a subsequent instruction may be selected as a subsequently sampled instruction.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 20.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for monitoring instructions in an instruction pipeline of a processor, the method comprising the steps of: selecting an instruction as a sampled instruction; in response to selecting the sampled instruction, loading a countdown register with a value equal to or greater than the maximum number of active instructions in the instruction pipeline; monitoring progress of the sampled instruction through the instruction pipeline; in response to an indication of progress of an instruction through a completion stage of the instruction pipeline, decrementing a value in the countdown register; d
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗