Responding to branch misprediction for predicated-loop-terminating branch instruction
AssigneeArm Limited
InventorsJoseph Michael Pusdesris, Nicholas Andrew Plante, Yasuo Ishii, Chris Abernathy
Life of this patent
Estimating the term…
Loading patent…
AssigneeArm Limited
InventorsJoseph Michael Pusdesris, Nicholas Andrew Plante, Yasuo Ishii, Chris Abernathy
Estimating the term…
A predicated-loop-terminating branch instruction controls, based on whether a loop termination condition is satisfied, whether the processing circuitry should process a further iteration of a predicated loop body or process a following instruction. If at least one unnecessary iteration of the predicated loop body is processed following a mispredicted-non-termination branch misprediction when the loop termination condition is mispredicted as unsatisfied for a given iteration when it should have been satisfied, processing of the at least one unnecessary iteration of the predicated loop body is predicated to suppress an effect of the at least one unnecessary iteration. When the mispredicted-non-termination branch misprediction is detected for the given iteration of the predicated-loop-terminating branch instruction, in response to determining that a flush suppressing condition is satisfied, flushing of the at least one unnecessary iteration of the predicated loop body is suppressed as a response to the mispredicted-non-termination branch misprediction.
An apparatus comprising:
A method comprising:
A non-transitory computer-readable medium to store computer-readable code for fabrication of an apparatus comprising:
Dependencies are inferred from the claim text.