发明授权
US5928358A Information processing apparatus which accurately predicts whether a branch is taken for a conditional branch instruction, using small-scale hardware 失效
使用小规模硬件来准确地预测分支是否用于条件分支指令的信息处理装置

Information processing apparatus which accurately predicts whether a
branch is taken for a conditional branch instruction, using small-scale
hardware
摘要:
A branch instruction includes a set of branch prediction information 13b and a set of branch history information 13c. The set of branch prediction information 13b is made up of 1 bit which predicts whether a branch will be performed during the next execution of the instruction. The set of branch history information 13c is made up of 2 bits showing a frequency, with which the branch has been taken, is "very high", "high", "low" or "very low". An instruction fetching unit 12 prefetches an instruction from a cache memory 11a in accordance with the set of branch prediction information 13b. After an instruction executing unit 15 completes an execution of the branch instruction, a branch history information generating unit 16 generates a new set of branch history information and a branch prediction information generating unit 17 generates a new set of branch prediction information, in accordance with the execution result and the preceding branch history information 13c. A branch instruction updating unit 18 overwrites the generated set of branch history information and the generated set of branch prediction information on the corresponding branch instruction stored in the main memory 11a.
公开/授权文献
信息查询
0/0