Pipeline processing apparatus with improved efficiency of branch prediction, and method therefor
AssigneeKabushiki Kaisha Toshiba
InventorSeiji Koino
Life of this patent
Estimating the term…
Loading patent…
AssigneeKabushiki Kaisha Toshiba
InventorSeiji Koino
Estimating the term…
The present invention provides an apparatus and a method for increasing the branch prediction efficiency of a condition branch instruction and decreasing the instruction execution time in a pipeline processing. This branch prediction apparatus predicts whether a branch condition of a conditional branch instruction is satisfied or non-satisfied based on a branch prediction status, and instructs that a branch destination address is selected as an instruction fetch address when it has been predicted that the branch condition of the condition branch instruction is satisfied, while the branch prediction apparatus decides whether a branch prediction executed according to a result of a decision on the branch condition is correct or wrong at the time of the execution of the conditional branch instruction and instructs that an address of the instruction to be executed next to the condition branch instruction is selected as the instruction fetch address when it has been decided that the branch prediction is wrong. The branch prediction apparatus updates the stored branch prediction status based on a result of a decision on the branch condition, selects the updated latest branch prediction status, and bypass supplies the latest branch prediction status to the succeeding conditional branch instruction that is the same as the preceding conditional branch instruction.
A pipeline processing apparatus for executing a branch prediction of a conditional branch instruction based on the history of results of branching, the pipeline processing apparatus comprising:
A pipeline processing method of executing a branch prediction of a conditional branch instruction based on the history of results of branching, the method comprising the steps of:
Dependencies are inferred from the claim text.