Loop detector and predictor
AssigneeAmpere Computing LLC
InventorsMichael CHIN, Aaron LINDSAY, Bret TOLL
Life of this patent
Estimating the term…
Abstract
Disclosed is a branch predictor unit (BPU), comprising a loop predictor configured to predict a repeatedly looping behavior before the repeatedly looping behavior occurs, a loop detector configured to detect the repeatedly looping behavior which is currently occurring, and a loop buffer, configured to treat a plurality of looping operations corresponding to the repeatedly looping behavior as a read-only circular buffer without removing the looping operations from the loop buffer.
Claims20
A branch predictor unit (BPU), comprising:
- a loop predictor configured to predict a repeatedly looping behavior before the repeatedly looping behavior occurs;
- a loop detector configured to detect the repeatedly looping behavior which is currently occurring;
- and
- a loop buffer, configured to treat a plurality of looping operations corresponding to the repeatedly looping behavior as a read-only circular buffer without removing the looping operations from the loop buffer, wherein a same set of instructions is repeatedly read out of the read-only circular loop buffer.
A method performed at a branch predictor unit (BPU), the method comprising:
- predicting a repeatedly looping behavior before the repeatedly looping behavior occurs;
- detecting the repeatedly looping behavior which is currently occurring;
- and
- treating a plurality of looping operations corresponding to the repeatedly looping behavior as a read-only circular buffer without removing the looping operations from a loop buffer, wherein a same set of instructions is repeatedly read out of the read-only circular loop buffer.
A branch predictor unit (BPU), comprising:
- means for predicting a repeatedly looping behavior before the repeatedly looping behavior occurs;
- means for detecting the repeatedly looping behavior which is currently occurring;
- and
- means for treating a plurality of looping operations corresponding to the repeatedly looping behavior as a read-only circular buffer without removing the looping operations from a loop buffer, wherein a same set of instructions is repeatedly read out of the read-only circular loop buffer.
Dependencies are inferred from the claim text.