Patent ID: 9606805
Date: 2017-03-28
CPC Classifications: G06F

Claim:
1. A method for dynamically managing an Operand-Store-Compare (OSC) prediction table for load and store operations executed out-of-order, the method comprising: receiving a request to retire a queue entry corresponding to an instruction; identifying an OSC prediction for the instruction based on an OSC prediction table entry, wherein the OSC prediction indicates if the instruction is predicted to hit an OSC hazard; determining if the instruction hit the OSC hazard; in response to the OSC prediction indicating that the instruction is predicted to hit the OSC hazard and the instruction not hitting the OSC hazard, invalidating the OSC prediction table entry corresponding to the instruction; and in response to a confidence counter corresponding to the instruction not being equal to a predetermined value, updating the OSC prediction table entry, wherein the confidence counter is a first confidence counter value stored in the queue entry, and wherein the OSC prediction table entry is updated by setting a second counter value in the OSC prediction table entry to one less than the first confidence counter value.