Patent ID: 11915004
Assignee: ARM LIMITED
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 10:
11. A non-transitory computer-readable medium to store computer-readable code for fabrication of a data processing apparatus comprising:
bimodal control flow prediction circuitry configured to consider a block of instructions comprising a conditional control flow instruction having a first target address and an unconditional control flow instruction having a second target address and perform a prediction of whether the conditional control flow instruction having the first target address will be taken, or whether the unconditional control flow instruction having the second target address will be taken;
storage circuitry configured to store, in association with the block of instructions, a stored state of the data processing apparatus, the first target address associated with the conditional control flow instruction and the second target address associated with the unconditional control flow instruction; and
reversal circuitry configured to reverse the prediction in dependence on the stored state of the data processing apparatus corresponding with a current state of the data processing apparatus when execution of the conditional control flow instruction is to be performed.