CPC G06F 9/3844 (2013.01) [G06F 9/325 (2013.01); G06F 9/381 (2013.01)] | 20 Claims |
10. A method, comprising:
detecting a loop comprising a plurality of loop instructions among a plurality of instructions in an instruction stream;
determining that the loop is stored within a loop buffer circuit;
determining a count of potential history register updates to a history register for the plurality of loop instructions;
determining whether the count of potential history register updates exceeds a size of the history register; and
responsive to determining that the count of potential history register updates does not exceed the size of the history register, updating a branch predictor of a branch predictor circuit based on the plurality of loop instructions.
|