Method and system for detecting a flush of an instruction without a flush indicator
AssigneeInternational Business Machines Corporation
InventorsJoel Roger Davidson, Hung Oui Le, Alexander Erik Mericas
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsJoel Roger Davidson, Hung Oui Le, Alexander Erik Mericas
Estimating the term…
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.
A method for monitoring instructions in an instruction pipeline of a processor, the method comprising the steps of:
A data processing system for monitoring instructions in an instruction pipeline of a processor, the data processing system comprising:
A computer program product in a computer-readable medium for use in a data processing system for monitoring instructions in an instruction pipeline of a processor, the computer program product comprising:
Dependencies are inferred from the claim text.