Advanced Micro Devices, Inc.
Using loop exit prediction to accelerate or suppress loop mode of a processor

Last updated:

Abstract:

A processor predicts a number of loop iterations associated with a set of loop instructions. In response to the predicted number of loop iterations exceeding a first loop iteration threshold, the set of loop instructions are executed in a loop mode that includes placing at least one component of an instruction pipeline of the processor in a low-power mode or state and executing the set of loop instructions from a loop buffer. In response to the predicted number of loop iterations being less than or equal to a second loop iteration threshold, the set of instructions are executed in a non-loop mode that includes maintaining at least one component of the instruction pipeline in a powered up state and executing the set of loop instructions from an instruction fetch unit of the instruction pipeline.

Status:
Grant
Type:

Utility

Filling date:

5 Feb 2021

Issue date:

22 Feb 2022