To conduct branch prediction of a branch instruction formed of a plurality of words at a high speed in a processor of a pipeline system.
The branch prediction is conducted at a stage that a part of the branch instruction formed of the plurality of the words is fetched. When branch prediction information is obtained from a branch target buffer (BTB) or the like, an instruction of a predicted branch destination is fetched without fetching a remaining part of the branch instruction. Thereby, the branch instruction formed of the plurality of the words is processed at an execution cycle of one word as long as the branch prediction succeeds. A penalty when the branch prediction is failed is same as in a case that the branch instruction is formed of one word.
JPS63124135A | 1988-05-27 | |||
JPS63124135A | 1988-05-27 |