METHOD AND APPARATUS FOR SCHEDULING BRANCH PREDICTOR FOR MULTIPLE INSTRUCTIONS

The present disclosure provides a method for scheduling a branch predictor for multiple instructions. The method comprises: determining a branch predictor group; acquiring a set of instructions; acquiring an initial instruction fetch address and an instruction type of each instruction; determining a...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: HUAN, Dandan, LI, Zusong
Format: Patent
Sprache:chi ; eng ; fre
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The present disclosure provides a method for scheduling a branch predictor for multiple instructions. The method comprises: determining a branch predictor group; acquiring a set of instructions; acquiring an initial instruction fetch address and an instruction type of each instruction; determining a use sequence of N branch predictors according to the initial instruction fetch address and the instruction type of the instruction; determining a correspondence between M instructions and the N branch predictors according to the use sequence and an instruction arrangement sequence in the set of instructions; and scheduling a corresponding branch predictor according to the instruction arrangement sequence in the set of instructions and the correspondence so as to process an instruction in the set of instructions. By acquiring the initial instruction fetch address and on the basis of the instruction type, a branch predictor corresponding to each instruction is determined, so that rapid allocation of a branch predict