Branch prediction method of multilevel fetch target buffer based on processor
The invention provides a branch prediction method of a multi-level fetch target buffer based on a processor, and relates to the technical field of computers, and the method comprises the following steps: simultaneously searching a first-level fetch target buffer, a second-level fetch target buffer a...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a branch prediction method of a multi-level fetch target buffer based on a processor, and relates to the technical field of computers, and the method comprises the following steps: simultaneously searching a first-level fetch target buffer, a second-level fetch target buffer and a replacement fetch target buffer according to a branch prediction instruction; if the primary fetch target buffer does not hit the branch prediction instruction and the replacement fetch target buffer hits the branch prediction instruction, the replacement fetch target buffer determines a branch prediction result and writes the branch prediction result into the primary fetch target buffer; and if both the primary fetch target buffer and the replacement fetch target buffer do not hit the branch prediction instruction and the secondary fetch target buffer hits the branch prediction instruction, the secondary fetch target buffer determines a branch prediction result and writes the branch prediction result into the |
---|